I am using bower.json to manage my front end dependencies.. no matter however i specify the version of angular in bower i end up getting different version of angular library... Many of the functionality of my code are from previous version of angulars so the functions like $http.post.success() are depracted here and the code does not work. I need angular v 1.4.8 but it always downloads some other v1.5.9.build version. Here is how i tried downloading the package from bower.json
1) Mentioning the versions only..
"dependencies": {
"angular": "1.4.8",
"jquery": "2.1.4"
},
"resolutions": {
"jquery": "2.1.4",
"angular": "1.4.8"
2) I tried this way as well giving the full path of the repo in github
"dependencies": {
"angular": "https://github.com/angular/bower-angular.git#1.4.8",
"jquery": "2.1.4"
},
"resolutions": {
"jquery": "2.1.4",
"angular": "https://github.com/angular/bower-angular.git#1.4.8"
Any help would be greatly appreciated