angular-cn/modules/@angular/upgrade
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
..
src fix(ngUpgrade): to work with @NgModule 2016-08-08 12:50:08 -07:00
test fix(ngUpgrade): to work with @NgModule 2016-08-08 12:50:08 -07:00
index.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
package.json fix(upgrade): add peerDependency on platform-browser-dynamic (#9674) 2016-06-28 17:27:28 -07:00
rollup.config.js fix(upgrade): fix bundling issue and fix e2e test 2016-06-21 11:12:42 -07:00
tsconfig-es5.json chore(tsickle): add @Annotation annotations 2016-06-16 12:29:46 -07:00
tsconfig-es2015.json chore(tsickle): add @Annotation annotations 2016-06-16 12:29:46 -07:00
upgrade.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00