mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
367 B
TypeScript
13 lines
367 B
TypeScript
/// <reference path="angular-spinner.d.ts" />
|
|
|
|
var myApp = angular.module('testModule');
|
|
|
|
module AngularSpinnerTest {
|
|
var app = angular.module("angularSpinnerTest", ["angular-spinner"]);
|
|
|
|
app.config(['usSpinnerService', function(usSpinnerService: ISpinnerService) {
|
|
usSpinnerService.spin('key1');
|
|
usSpinnerService.stop('key2');
|
|
}]);
|
|
}
|