angular-ui-bootstrap

Rails gem for Angular.js UI Bootstrap.

Installation

Add this line to your application's Gemfile:

gem 'angular-ui-bootstrap'

And then execute:

$ bundle

Or install it yourself as:

$ gem install angular-ui-bootstrap

Usage

angular-ui-bootstrap with templates

Add the following to your javascripts minifest (application.js):

//= require ui-bootstrap-tpls

angular-ui-bootstrap without template

Add the following to your javascripts minifest (application.js):

//= require ui-bootstrap

And, add 'ui.bootstrap' into your app declaration for example:

app = angular.module('myApp', ["ui.bootstrap"])

Dependency

Angular.js is required.

Contributing

  1. Fork it ( http://github.com/garylai1990/angular-ui-bootstrap/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request