v3.1.1
"dependencies": {
"awelzijn-notification-service": "latest"
}var app = angular.module('yourApp', [
'awelzijn.notificationservice'
]);Deze service dient samen gebruikt te worden met de notification-callout (anders worden de booschappen wel bijgehouden, maar niet getoond)
Je injecteert de service in je controller
var controller = function (notificationService) {...}
controller.$inject = ['aWelzijnNotificationService'];Je gebruikt de volgende methodes
notificationService.notify("Yes!");
notificationService.warning("Oei!");
notificationService.error("Oeioei!");Bij elke methode kan je 1 string of een array van strings gebruiken
notificationService.notify(["Yes!", "Jawadde", "Zalig"]);