Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to update the version of Angular in Ionic Framework?

I am having some issues with the Angular filters, everyone says: is because you are not using angular 1.3.8 or above versions, I just realized my version by doing angular.version on the console and: Object {full: "1.3.6", major: 1, minor: 3, dot: 6, codeName: "robofunky-danceblaster"} comes up, so, how do I update to 1.3.8 at least ? or update to the latest ?

Is there a way to do that, or I have to work with that version of Angular until the Ionic people updates it ?

like image 200
Non Avatar asked Feb 06 '15 19:02

Non


1 Answers

ionic.bundle.js is a concatenation of:

  • ionic.js
  • angular.js
  • angular-animate.js
  • angular-sanitize.js
  • angular-ui-router.js
  • ionic-angular.js

If you want to use a newer AngularJS version than the one included in the bundle you can include them separately with preferred version (instead of loading ionic.bundle.js).

Do note that the AngularJS version that is included in the newest Ionic version is the version that is/was used during testing (I assume). So by manually including a newer version Ionic may break.

like image 87
tasseKATT Avatar answered Oct 29 '22 14:10

tasseKATT