File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,13 @@ class TestController {
7
7
constructor ( $http : ng . IHttpService ) {
8
8
9
9
$http . get ( "http://xyz.com" , { ignoreLoadingBar : true } )
10
-
10
+
11
11
}
12
12
13
13
}
14
14
15
15
app . controller ( 'TestController' , TestController ) ;
16
16
17
-
18
-
19
17
var barConfig : angular . loadingBar . ILoadingBarProvider [ ] = [ ] ;
20
18
barConfig . push ( {
21
19
includeSpinner : true ,
Original file line number Diff line number Diff line change 6
6
/// <reference path="../angularjs/angular.d.ts" />
7
7
8
8
9
- declare module angular . loadingBar {
9
+ declare module angular {
10
10
11
11
interface IRequestShortcutConfig {
12
12
/**
13
13
* Indicates that the loading bar should be hidden.
14
14
*/
15
15
ignoreLoadingBar ?: boolean ;
16
16
}
17
+ }
17
18
19
+ declare module angular . loadingBar {
20
+
18
21
interface ILoadingBarProvider {
19
22
/**
20
23
* Turn the spinner on or off
You can’t perform that action at this time.
0 commit comments