Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Migration path for AngularJS 1.2

I have written an application using AngularJS 1.0.7. I would like to migrate to AngularJS 1.2. What is the migration path (what issues might I need to fix when migrating)?

like image 502
poiuytrez Avatar asked Aug 19 '13 09:08

poiuytrez


2 Answers

The angular team has put together a very comprehensive 1.x to 2.0 migration guide here: http://docs.angularjs.org/guide/migration

Exceptions logged in the console have also been greatly improved. They now include a link to an error reference manual with a detailed explanation of the exception and how to correct it. You can find the error manual here: http://docs.angularjs.org/error

like image 170
Michael DePetrillo Avatar answered Sep 17 '22 16:09

Michael DePetrillo


There is no official guide to migrate from 1.0.7 to 1.2 but the best thing I can find is the changelog through angularJS's versions: https://github.com/angular/angular.js/blob/master/CHANGELOG.md .

They notice the crucial changes that can break in the new version so you can look into that.

like image 45
Dzung Nguyen Avatar answered Sep 17 '22 16:09

Dzung Nguyen