Rails-angularjs wraps the Angular.js library for use in Rails 3.1 and above. Original version was made by Hirav Gandhi. Main difference is that this version will be updating more frequently.
Usage
Add the following to your Gemfile:
gem 'rails-angularjs'
Add the following directive to your JavaScript manifest file (application.js):
//= require angular
If you desire to require (optional) Angular files, you may include them as well in your JavaScript manifest file (application.js). For example:
//= require angular-animate
//= require angular-resource
If you using ngCsp, you need to include csp styles:
*= require angular-csp
For minified version just add .min to file name:
//= require angular.min
Versioning
Current AngularJS version: 1.5.0