angularjsangularng-upgradeangular-hybrid

How to upgrade from angular 1.4 to angular 5?


enter image description hereTo upgrade from angular 1.4 to Angular 5 is it possible to use ngupgrade and follow incremental approach or it is strictly applicable to use ngupgrade from version 1.5. According to the image the prerequisites mentioned 1.5 is used for ngUpgrade.


Solution

  • There is official upgrade guide: https://angular.io/guide/upgrade or https://angular.io/guide/upgrade-performance

    But as a person who have written a big AngularJS application and now is working on a big Angular project, I recommend to start a new fresh project and step-by-step write a complete new application in the newest Angular. By my experience, switching between both frameworks is really hard and time-consuming.

    In Angular things work totally different (better) and the framework itself offers much more than AngularJS.

    If you still want to go the upgrade way, do it in 2 steps: