This document discusses strategies for upgrading a large AngularJS (Angular 1) application to Angular 2 while keeping development ongoing. It describes using ngUpgrade to allow Angular 1 and 2 code to coexist, including downgrading Angular 2 components for use in Angular 1 and upgrading Angular 1 components to work in Angular 2. Lazy loading is also suggested to reduce the cost of migration by loading Angular 2 code on demand. Tips are provided for upgrading directives and handling routing events across both frameworks.
2. How do we upgrade to Angular 2 without
Putting all development on hold?
Driving developers crazy?
3. Jen Bourey
• Tech Lead for the Google
Cloud Console’s client-side
infrastructure team
• Instigator of angular adoption
for Google Cloud Platform
• Veteran of multiple upgrades
7. Project size
• ~450K JS + template source LOC
• Hundreds of reusable shared components and
services
• Dozens of teams across multiple offices, time
zones
• Release 2x / week