├── .gitignore ├── Gemfile ├── MIT-LICENSE ├── README.md ├── Rakefile ├── angular-ui-bootstrap-rails.gemspec ├── lib ├── angular-ui-bootstrap-rails.rb └── angular-ui-bootstrap-rails │ └── version.rb └── vendor └── assets └── javascripts ├── angular-ui-bootstrap-tpls.js └── angular-ui-bootstrap.js /.gitignore: -------------------------------------------------------------------------------- 1 | *.gem 2 | *.rbc 3 | .bundle 4 | .config 5 | .yardoc 6 | Gemfile.lock 7 | InstalledFiles 8 | _yardoc 9 | coverage 10 | doc/ 11 | lib/bundler/man 12 | pkg 13 | rdoc 14 | spec/reports 15 | test/tmp 16 | test/version_tmp 17 | tmp -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | # Specify your gem's dependencies in angular-ui-bootstrap-rails.gemspec 4 | gemspec 5 | -------------------------------------------------------------------------------- /MIT-LICENSE: -------------------------------------------------------------------------------- 1 | Angular-UI-Bootstrap-Rails RubyGem Copyright (c) 2013 Chris Constantin 2 | 3 | Angular.JS and related components Copyright (c) 2010-2013 Google Inc. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | "Software"), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 20 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 21 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 22 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # angular-ui-bootstrap-rails 2 | 3 | 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. 4 | 5 | angular-ui-bootstrap is at v2.4.0 6 | 7 | ## Usage 8 | 9 | Add the following to your gemfile: 10 | 11 | gem 'angular-ui-bootstrap-rails' 12 | 13 | Add the following directive to your Javascript manifest file (application.js): 14 | 15 | //= require angular-ui-bootstrap 16 | 17 | If you would like to use the default bootstrap templates, use the following directive instead 18 | 19 | //= require angular-ui-bootstrap-tpls 20 | 21 | 22 | You may need to add 'ui.bootstrap' into your app declaration for example 23 | 24 | app = angular.module('MyApp', ["ui.bootstrap"]) 25 | 26 | Gem based on Angularjs-rails(https://github.com/hiravgandhi/angularjs-rails) by Hirav Gandhi 27 | 28 | -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env rake 2 | require "bundler/gem_tasks" 3 | -------------------------------------------------------------------------------- /angular-ui-bootstrap-rails.gemspec: -------------------------------------------------------------------------------- 1 | require File.expand_path('../lib/angular-ui-bootstrap-rails/version', __FILE__) 2 | 3 | Gem::Specification.new do |s| 4 | s.name = 'angular-ui-bootstrap-rails' 5 | s.version = AngularUI::Bootstrap::Rails::VERSION 6 | s.summary = 'Angular.js UI Bootstrap on Rails' 7 | s.description = 'Injects Angular.js UI Bootstrap directives into your asset pipeline.' 8 | s.authors = ["Chris Constantin"] 9 | s.email = 'chris@chrisconstantin.net' 10 | s.files = Dir["{lib,vendor}/**/*"] + ["MIT-LICENSE", "README.md"] 11 | s.homepage = 'https://github.com/cconstantin/angular-ui-bootstrap-rails/' 12 | s.license = 'MIT' 13 | end 14 | -------------------------------------------------------------------------------- /lib/angular-ui-bootstrap-rails.rb: -------------------------------------------------------------------------------- 1 | require "angular-ui-bootstrap-rails/version" 2 | 3 | module AngularUI 4 | module Bootstrap 5 | module Rails 6 | class Engine < ::Rails::Engine 7 | end 8 | end 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /lib/angular-ui-bootstrap-rails/version.rb: -------------------------------------------------------------------------------- 1 | module AngularUI 2 | module Bootstrap 3 | module Rails 4 | VERSION = "2.4.0" 5 | end 6 | end 7 | end 8 | --------------------------------------------------------------------------------