Struggling to manage my front end dependencies using bower.json. No matter how I specify the version of Angular in bower, a different version is downloaded every time. The issue is that many functionalities in my code rely on previous versions of Angular, causing errors like deprecation of $http.post.success(). I specifically need Angular v1.4.8, but it continues to download v1.5.9.build instead. Below are the methods I tried in my attempt to download the package from bower.json:
1) Mentioning only the versions:
"dependencies": {
"angular": "1.4.8",
"jquery": "2.1.4"
},
"resolutions": {
"jquery": "2.1.4",
"angular": "1.4.8"
2) Trying a different approach by providing the full path of the repo on 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 assistance would be highly appreciated.