fixed test

This commit is contained in:
stunaz 2015-12-20 01:04:37 -05:00
parent d84ba2d2c3
commit 159b479af1
2 changed files with 5 additions and 4 deletions

View File

@ -7,15 +7,13 @@ class TestController {
constructor($http: ng.IHttpService) {
$http.get("http://xyz.com", { ignoreLoadingBar: true })
}
}
app.controller('TestController', TestController);
var barConfig: angular.loadingBar.ILoadingBarProvider[] = [];
barConfig.push({
includeSpinner: true,

View File

@ -6,7 +6,7 @@
/// <reference path="../angularjs/angular.d.ts" />
declare module angular.loadingBar {
declare module angular {
interface IRequestShortcutConfig {
/**
@ -14,7 +14,10 @@ declare module angular.loadingBar {
*/
ignoreLoadingBar?: boolean;
}
}
declare module angular.loadingBar {
interface ILoadingBarProvider{
/**
* Turn the spinner on or off