Add resumeBootstrap to IAngularStatic

This commit is contained in:
Shlomi Assaf
2015-11-26 12:37:27 +02:00
parent e48f0c7a0a
commit 3efcdc3034

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;
}
///////////////////////////////////////////////////////////////////////////