aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/httpSpec.js
diff options
context:
space:
mode:
authorJulie2013-02-21 11:55:16 -0800
committerIgor Minar2013-03-06 16:19:35 -0800
commit603fe0d19608ffe1915d8bc23bf412912e7ee1ac (patch)
treea234c62b845bfe614d1b3794fc0a693a8455712f /test/ng/httpSpec.js
parent485f1040990508441cebf4cddab83a126e65355f (diff)
downloadangular.js-603fe0d19608ffe1915d8bc23bf412912e7ee1ac.tar.bz2
feat(angular.bootstrap): support deferred bootstrap
This features enables tools like Batarang and test runners to hook into angular's bootstrap process and sneak in more modules into the DI registry which can replace or augment DI services for the purpose of instrumentation or mocking out heavy dependencies. If window.name contains prefix NG_DEFER_BOOTSTRAP! when angular.bootstrap is called, the bootstrap process will be paused until angular.resumeBootstrap is called. angular.resumeBootstrap takes an optional array of modules that should be added to the original list of modules that the app was about to be bootstrapped with.
Diffstat (limited to 'test/ng/httpSpec.js')
0 files changed, 0 insertions, 0 deletions