I just had the same problem and would like to share how I fixed it. Ionic 1.2.4 ships with angular 1.4.3 which has a few bugs that broke my app and were fixed in 1.4.4. Please note that this shows only how to update angular-core. Angular-animate, -sanitize and -ui-router aren't touched but you can update them using the same way.
First I edited bower.json, now it looks like so:{
"name": "myProjectName"
,"private": "true"
,"devDependencies": {
"angular": "1.4.4"
,"ionic": "driftyco/ionic-bower#1.2.4"
}
,"resolutions": {
"angular": "1.4.4"
}
}
Note: the "resolutions" property fixes the conflict between angular 1.4.4 and ionics angular 1.4.3 dependency. It forces bower to solve the conflict by using angular 1.4.4.
Then you can install the packages:cd [project-dir]
bower install
Bower will install angular 1.4.4 in the '[project-dir]/www/lib/angular' directory.
Now you have to edit the '[project-dir]/www/index.html' file of your app and add a reference to the 'angular.min.js' file BEFORE the reference to the 'ionic.bundle.js' file:...
<head>
...
<script type="text/javascript" src="lib/angular/angular.min.js"></script>
<script type="text/javascript" src="lib/ionic/js/ionic.bundle.js"></script>
...
</head>
...
And that's it.