Files
DefinitelyTyped/ng-notify/ng-notify-tests.ts
Nick Zamosenchuk 0eaa2e33f7 [ngNotify] create Type Definition for Angular JS ngNotify library
ngNotify is a simple, lightweight and elegant notification service for
AngularJS applications. This commit/pull request contains a type
definition for the latest version of this library
2015-12-11 14:13:49 +01:00

11 lines
305 B
TypeScript

/// <reference path='../angularjs/angular.d.ts'/>
/// <reference path="ng-notify.d.ts" />
class NgNotifyTestController {
static $inject = ['$scope', 'ngNotify'];
constructor($scope:ng.IScope, ngNotify:ngNotify.INotifyService) {
ngNotify.set('Your error message goes here!', 'error');
}
};