- Demo
- Installation
- Support
- Contributing to the project
- Development, meeting minutes, roadmap and more.
Do you want to see directives in action? Visit https://angular-ui.github.io/bootstrap/!
Installation is easy as UI Bootstrap has minimal dependencies - only the AngularJS and Twitter Bootstrap's CSS are required.
Note: Since version 0.13.0, UI Bootstrap depends on ngAnimate for transitions and animations, such as the accordion, carousel, etc. Include ngAnimate
in the module dependencies for your app in order to enable animation.
Additionally, it is srongly recommended that for UI Bootstrap 0.13.3 and higher you use Angular 1.3.18 or higher due to animation fixes.
$ npm install angular-ui-bootstrap
This will install AngularJS and Bootstrap NPM packages.
$ bower install angular-bootstrap
Note: do not install 'angular-ui-bootstrap'. A separate repository - bootstrap-bower - hosts the compiled javascript file and bower.json.
To install AngularJS UI Bootstrap, run the following command in the Package Manager Console
PM> Install-Package Angular.UI.Bootstrap
Head over to https://angular-ui.github.io/bootstrap/ and hit the Custom build button to create your own custom UI Bootstrap build, just the way you like it.
After downloading dependencies (or better yet, referencing them from your favorite CDN) you need to download build version of this project. All the files and their purposes are described here:
https://github.com/angular-ui/bootstrap/tree/gh-pages#build-files
Don't worry, if you are not sure which file to take, opt for ui-bootstrap-tpls-[version].min.js
.
When you are done downloading all the dependencies and project files the only remaining part is to add dependencies on the ui.bootstrap
AngularJS module:
angular.module('myModule', ['ui.bootstrap']);
If you're a Browserify or Webpack user, you can do:
var uibs = require('angular-ui-bootstrap');
angular.module('myModule', [uibs]);
https://github.com/angular-ui/bootstrap/wiki/FAQ
Directives from this repository are automatically tested with the following browsers:
- Chrome (stable and canary channel)
- Firefox
- IE 9 and 10
- Opera
- Safari
Modern mobile browsers should work without problems.
Need help using UI Bootstrap?
- Live help in the IRC (
#angularjs
channel at thefreenode
network). Use this webchat or your own IRC client. - Ask a question in StackOverflow under the angular-ui-bootstrap tag.
Please do not create new issues in this repository to ask questions about using UI Bootstrap
Please take a look at CONTRIBUTING.md and submit your issue here.
We are always looking for the quality contributions! Please check the CONTRIBUTING.md for the contribution guidelines.
Head over to the Wiki for notes on development for UI Bootstrap, meeting minutes from the UI Bootstrap team, roadmap plans, project philosophy and more.