angular-ui-select-rails is a asset pipeline friendly version of AngularJS ui-select.
Add the gem in your Gemfile:
gem 'angular-ui-select-rails'
After bundling, add the directives to your manifest files.
JavaScripts (application.js):
//= require angular-ui-select
Stylesheets (application.css):
//= require angular-ui-select
Add 'ui.select' into your app declaration:
app = angular.module('MyApp', ["ui.select"])
For instructions on setting up the Angular directives see https://github.com/angular-ui/ui-select.
To include styles beyond the default, you can include Select2 CSS(v3.5):
//= require angular-ui-select2
Or, include your choice of vendored Selectize stylesheets.
- Fork it ( http://github.com//angular-ui-select-rails/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request