This commit is contained in:
Tomasz Ducin
2015-07-31 09:49:57 +02:00
parent a315ac7f88
commit 25dd3de39c

View File

@@ -6,7 +6,7 @@ myapp.controller("MyController", ["$scope", "notifications",
function ($scope:ng.IScope, notifications:angular.notifications.INotificationFactory) { // <-- Inject notifications
var userData = {'some': 'data', 'optional': true};
notification.info("Something happened", "here is the content of what happened", userData);
notifications.info("Something happened", "here is the content of what happened", userData);
}
]);