Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cconstantin/angular-ui-bootstrap-rails

Rails wrapper for angular-ui bootstrap library
https://github.com/cconstantin/angular-ui-bootstrap-rails

Last synced: 6 days ago
JSON representation

Rails wrapper for angular-ui bootstrap library

Awesome Lists containing this project

README

        

# angular-ui-bootstrap-rails

angular-ui-bootstrap-rails wraps the [Angular.js UI Bootstrap](http://angular-ui.github.com/bootstrap) library for use in Rails 3.1 and above. Assets will minify automatically during production.

angular-ui-bootstrap is at v2.4.0

## Usage

Add the following to your gemfile:

gem 'angular-ui-bootstrap-rails'

Add the following directive to your Javascript manifest file (application.js):

//= require angular-ui-bootstrap

If you would like to use the default bootstrap templates, use the following directive instead

//= require angular-ui-bootstrap-tpls


You may need to add 'ui.bootstrap' into your app declaration for example

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

Gem based on Angularjs-rails(https://github.com/hiravgandhi/angularjs-rails) by Hirav Gandhi