mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
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
11 lines
305 B
TypeScript
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');
|
|
}
|
|
}; |