Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 766 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 766 Bytes

angularjs-rails

angularjs-rails wraps the Angular.js library for use in Rails 3.1 and above. Assets will minify automatically during production.

Usage

Add the following to your gemfile:

gem 'angularjs-rails'

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-bootstrap
//= require angular-resource

Versioning

Every attempt is made to mirror the currently shipping Angular.js version number wherever possible. The major, minor, and patch version numbers will always represent the Angular.js version.