This commit is contained in:
Tomasz Ducin
2015-07-31 09:47:12 +02:00
parent 2d6ebeb1a9
commit a315ac7f88
@@ -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);
notification.info("Something happened", "here is the content of what happened", userData);
}
]);