angular-docs-cn/modules/playground
Tobias Bosch 7e4fd7d7da refactor(core): introduce `@NgModule.bootstrap` and `ngDoBootstrap` method
If a `@NgModule` has a `bootstrap` property, `PlatformRef.bootstrapModule` /
`PlatformRef.bootstrapModuleFactory` will automatically bootstrap the components
listed in there.
If such a property does not exist, `PlatformRef.bootstrapModule` /
`PlatformRef.bootstrapModuleFactory` will try to call the method `ngDoBootstrap(appRef: ApplicationRef)` on the module class.
Otherwise an error is reported.
2016-08-02 11:23:26 -07:00
..
e2e_test fix(ng upgrade): do not compile ng2 components until after ng1 bootstrap (#10084) 2016-07-25 21:14:35 -07:00
src refactor(core): introduce `@NgModule.bootstrap` and `ngDoBootstrap` method 2016-08-02 11:23:26 -07:00
README.md refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
favicon.ico build: adding basic e2e testing infrastructure 2016-05-02 08:15:10 -07:00

README.md

How to run the examples locally

$ cp -r ./modules/playground ./dist/all/ $ ./node_modules/.bin/tsc -p modules --emitDecoratorMetadata -w $ gulp serve $ open http://localhost:8000/all/playground/src/hello_world/index.html?bundles=false