Finding the Path from AngularJS to Angular

First Published: May 28, 2020

Migrating from AngularJS to Angular can be really overwhelming. How on earth do you figure out where to even begin?

I reprised a talk I gave last year for the ngPittsburgh meetup group called "Finding the Right Path from AngularJS to Angular" that goes over a decision tree you can use to determine this. Here's the recording:

You can also watch the original version from Angular Finland.

The (roughly) four paths for migrating from AngularJS to Angular are:

  1. Rewrite/burn everything to the ground, sometimes called a "big bang" approach
  2. ngUpgrade, a library from the Angular team that lets you run AngularJS and Angular side-by-side
  3. Hybrid Routing, which involves one frameowrk owning one route. This can be done client side with ngUpgrade or server side.
  4. Angular Elements, which are web components for Angular. These are like tiny frontends you can stick anywhere, including your legacy AngularJS code.

If your company needs help with migration, I offer remote migration consultations. The most popular option is a full day review where we develop a customized action plan for your migration. We look at your build process, the current state of your legacy codebase, and anticipate any barriers you may have.

AngularJS Migration Resources from Me

More Angular Community Migration Resources

I send emails about getting better at coding and life.

I'm on a path to become a better human and developer and I want to bring as many friends with me as possible. Want to join me? Sign up below. 👇

Sam Julien © 2020