Addicted to AngularJS?
summary
Clear claim: ng upgrade (using the UpgradeModule from angular/upgrade/static plus downgradeComponent and downgradeInjectable) boots Angular and AngularJS together so one app runs both frameworks. A five-step path converts pieces incrementally: bootstrap both injectors, add pure-Angular components downgraded for AngularJS, upgrade AngularJS components/services for Angular, reuse a single service instance across both, and release when everything is migrated. Built a hybrid todo app, protractor and ngModel interop work, performance and DX improvements planned.
AI-written summary · about
chapters (13)
- 0:00Start
- 2:43Hybrid Todo App
- 6:00Bootstrap hybrid app
- 7:39Declare the Angular component
- 8:01Downgrade component to AngularJS
- 8:29Use in AngularJS template
- 10:22Declare the Angular provider
- 10:39Downgrade service to AngularJS
- 12:41Create upgrade component facade
- 13:25Declare upgraded component
- 13:54Upgrade service to Angular
- 14:59Convert component - Declaration
- 15:24Convert component - Template
related talks
23mUpgrading to Angular without ngUpgrade
41mNG-NL 2017: Pete Bacon Darwin & George Kalpakas
24mGetting to Angular 2
26mThe AngularJS Migration F.A.Q.
26mUpgrading your AngularJS App, Without the Tears
05mMigrating a Portfolio of Front-End Apps to Angular
44mMigrating to Angular 2
26mSTORE TREK: The Voyage to Angular
