Angular-File-Upload-Rails
A gem that includes angular-file-upload as an asset in the Rails Asset Pipeline (requires Rails 3.1 or higher).
Installation
Add the gem to your Gemfile:
gem 'angular-file-upload-rails', '~> 1.6.1.1'
# The gem's version mirrors the included version of angular-file-upload,
# with an extra .1 for updates independent of the wrapped library's version.
and run:
$ bundle install
Lastly, be sure to include it in your JavaScript manifest (e.g. application.js
)
//= require angular-file-upload
* be sure that angular is required before angular-file-upload