Merge pull request #6953 from shlomiassaf/patch-1

Add resumeBootstrap to IAngularStatic
This commit is contained in:
Masahiro Wakame
2015-12-01 22:41:34 +09:00
+6
View File
@@ -165,6 +165,12 @@ declare module angular {
dot: number;
codeName: string;
};
/**
* If window.name contains prefix NG_DEFER_BOOTSTRAP! when angular.bootstrap is called, the bootstrap process will be paused until angular.resumeBootstrap() is called.
* @param extraModules An optional array of modules that should be added to the original list of modules that the app was about to be bootstrapped with.
*/
resumeBootstrap?(extraModules?: string[]): ng.auto.IInjectorService;
}
///////////////////////////////////////////////////////////////////////////