Angular 1.3 meets Angular 2.0
summary
Demonstrates concrete migration steps: adopt ES6 and a five‑line build task to transpile, use the Angular 1.4 router (shared codebase with Angular 2) to migrate view by view, replace $q.defer with the $q Promise constructor now compatible with ES6 promises, convert services to ES6 classes (diff shows about three added lines), use controllerAs + bindToController and the module.component proposal to make directives map cleanly to Angular 2 components, demos compile and the incremental approach works.
AI-written summary · about
chapters (5)
- 0:00Start
- 6:50WHAT'S THE DIFFERENCE?
- 9:49ANGULAR 2 DIRECTIVES
- 11:53ANGULAR 1 DIRECTIVES ELIMINATE SCOPE
- 15:06ANGULAR 1 COMPONENTES
related talks
01h 11mAngular 2 for Angular 1 developers
24mGetting to Angular 2
44mMigrating to Angular 2
42mHow Angular2 can improve your Angular1 apps today
41mFrom .component() to @Component
51mAngularJS 2.0: A natural evolvement or a new beginning
54mQ&A with Angular team on 2.0, AtScript & more
52mAngularJS 2.0… and Before?
