Migrating to Angular 2
summary
Demonstrates a hands‑on incremental migration from Angular 1 to Angular 2 by refactoring a small image‑sharing app, replacing $watch with declarative bindings, adding isolated scope and controllerAs, then using ngUpgrade to upgrade/downgrade components and services. Uses TypeScript (finding real bugs), SystemJS for ES6 modules and lazy loading, and observables (RxJS) instead of promises. Claims following these best practices gets an app roughly 70% of the way to Angular 2 and finishes with a working migrated app.
AI-written summary · about
chapters (17)
- 0:00Intro
- 2:02Dollar Sign Watch
- 5:52Sample App
- 8:34Isolate Scope
- 10:49Controller Scope
- 17:05Doc Component
- 18:49TypeScript
- 24:31DotService
- 25:44SystemJS
- 30:14ES6 Modules
- 30:29Upgrading to Angular 2
- 34:03Angular Tues HTTP
- 36:23Angular Tues subscribe
- 36:33Migrating to Angular 2
- 41:02Upgrading API Service
- 42:02Removing References
- 42:53Summary
related talks
24mGetting to Angular 2
42mHow Angular2 can improve your Angular1 apps today
18mAngular 1.3 meets Angular 2.0
23mUpgrading to Angular without ngUpgrade
01h 11mAngular 2 for Angular 1 developers
37mCase Study - Migrating AngularJS Projects Safely to Angular 2
13mMigrations - an Upgrade Story
24mMigrating from AngularJS to Angular
