I'm a little confused how to upgrade my application to the latest beta version of AngularJS using bower. I am currently using Angular 1.2.21 in my application.
bower.json:
"dependencies": { "jquery": "1.11.1", "underscore": "~1.6.0", "angular": "~1.2.21", "angular-route": "~1.2.21", "angular-resource": "~1.2.21", "angular-cookies": "~1.2.21", "angular-sanitize": "~1.2.21", "angular-mocks": "~1.2.21", "angular-moment": "~0.8.0", "moment": "2.7.0", "angular-xeditable": "~0.1.8", "font-awesome": "~4.1.0", "angular-bootstrap-datetimepicker": "~0.2.4", "blueimp-file-upload": "~9.7.0", "bootstrap-sass-official": "v3.2.0+1", "angular-deferred-bootstrap": "~0.1.3", "angular-bootstrap": "~0.11.0", "moment-timezone": "~0.2.1" },
From other SO posts , I understand what I can do:
bower install angular#1.3.0-beta.18
which will install the latest version of angular. But how can I ensure that I always have the very latest? If I specify ~1.3.0-beta.18 , bower will also pick up every build, not just the beta when I do bower update .
Is there a way to indicate that I only need numbered beta versions and not intermediate builds? Similarly, I would like gower to update to RC when they were released, and full release 1.3.0 when it comes out.
How to upgrade Angular to beta version 1.3.0, as well as all packages dependent on it?