angular-cn/modules/playground
Igor Minar d21331e902 fix(ngUpgrade): to work with @NgModule
We changed the bootstrap order:
1. create NgZone
2. bootstrap ng1 inside NgZone and upgrade ng1 components to ng2 components.
3. bootstrap ng2 with NgZone

Note: Previous footgun behavior was: bootstrap ng2 first to extract NgZone, so that ng1 bootstrap can happen in NgZone. This meant that if ng2 bootstrap eagerly compiled a component which contained ng1 components, then we did not have complete metadata.
2016-08-08 12:50:08 -07:00
..
e2e_test chore(playground): clang-format 2016-08-05 12:26:28 -07:00
src fix(ngUpgrade): to work with @NgModule 2016-08-08 12:50:08 -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