Angular Migration Preparation Checklist
-
Use a modern Javascript flavour (Typescript/ES6)
-
Replace IIFE with import/export modules
-
Use components instead of directives or controllers
-
Move side effect free functions from services to utility files and import where needed
-
replace factories and in some cases services with classes
-
use decorators to reduce syntax differences between the frameworks
-
evaluate and remove use of functionality no longer available in Angular
-
evaluate third party libraries compatibility with Angular
-
decide the migration time frame
-
decide the order to approach migration
-
decide beforehand whether to migrate or rewrite