From 3efcdc303430181781369d962374a217d5584a33 Mon Sep 17 00:00:00 2001 From: Shlomi Assaf Date: Thu, 26 Nov 2015 12:37:27 +0200 Subject: [PATCH] Add resumeBootstrap to IAngularStatic --- angularjs/angular.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts index 1b54bac2a..ee8a94db6 100644 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -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; } ///////////////////////////////////////////////////////////////////////////