angular-docs-cn/modules
vsavkin 3c43a8c549 feat(bootstrap): add platform and app initializers
Often some init logic needs to run when a platform or an application is boostrapped.
For example, boostraping a platform requires initializing the dom adapter.
Now, it can be done as follows:

new Provider(PLATFORM_INITIALIZER, {useValue: initDomAdapter, multi: true}),

All platform initializers will be run after the platform injector has been created.

Similarly, all application initializers will be run after the app injector has been
created.

Closes #5355
2015-11-18 22:22:32 +00:00
..
angular1_router refactor(EventEmitter): rename .next() to .emit() 2015-11-18 22:16:40 +00:00
angular2 feat(bootstrap): add platform and app initializers 2015-11-18 22:22:32 +00:00
angular2_material refactor(EventEmitter): rename .next() to .emit() 2015-11-18 22:16:40 +00:00
benchmarks refactor(core): move render/dom from core 2015-11-17 15:53:55 -08:00
benchmarks_external fix(benchmarks): update react and polymer benchmarks and get tree update numbers for all of the benchmarks as well. 2015-10-28 13:17:01 -07:00
benchpress refactor(ListWrapper): drop filter, find, reduce & any 2015-11-09 19:24:14 +00:00
playground refactor(EventEmitter): rename .next() to .emit() 2015-11-18 22:16:40 +00:00