0.0
No commit activity in last 3 years
No release in over 3 years
Injects Angular.js into your asset pipeline as well as other Angular modules.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

#rails-angularjs Gem Version

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