This is a description on how to add AngularJS to a Rails App.
-
Put the angular javascript files into assets/javascripts/lib/angular-xxx
-
Add the libs to an index file (if you are not using anything else, application.js)
-
Add your apps dependencies to the same file
# app/assets/javascripts/application.js.coffee #= require lib/angular-xxx/angular #= require lib/angular-xxx/angular-route
#= require app/main