Angular Migration - Part 2
SUMMARY
Use ngUpgrade to run AngularJS and Angular side by side for the time of the upgrade so that new features can be added.
- Install ngUpgrade
- Transform application into hybrid application.
- Adapt the build process. Use webpack?
- Make sure tests still run.
- Migrate gradually
- This includes around 150 services and components. Adapt the corresponding tests.
- Use NgRx for state? Adapt existing store as wrapper.
- Convert around 20 services and downgrade them to make them available to the AngularJS components.
- Convert the components by starting with the lower most components and downgrade these to use them inside AngularJS code.
- Clean up
- Remove ngUpgrade. Search for possible helpers, downgrades and upgrades added during the previous step.
- Adapt build process.