- Notifications
You must be signed in to change notification settings - Fork6.6k
PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
License
angular-ui/bootstrap
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Thegh-pages branch contains generated demo pages forhttp://angular-ui.github.com/bootstrap as well as build results.
#Installation
All the directives in this repository depend only on AngularJS and bootstrap's CSS. There is no need to include any third-party JavaScript files.
The bootstrap CSS can be referenced from a CDN:http://www.bootstrapcdn.com/
Then it is enough to include one of the build files described below.
##Build files
In this repository one can find build files with the following names:
- ui-bootstrap-[version].js
- ui-bootstrap-tpls-[version].js
- ui-bootstrap-[version].min.js
- ui-bootstrap-tpls-[version].min.js
Files with themin suffix are minified versions to be used in production.
Then we've got files with the-tpls. To explain the difference let's start by explaining that we want our directives to be highly customizable. To achieve this we are trying hard not to hard-code markup nor CSS inside JavaScript code. Instead most of the directives are coming with a dedicated template(s) so people can change them. We are providing default templates based on Twitter's markup and CSS but you should be able to prepare your own partials to change the look&feel of widgets from this repo.
Now it should be clear that files with the-tpls in their name have bootstrap-specific templates bundled with directives. For people who want to take all the directives and don't need to customize anything the solution is to grab a file namedui-bootstrap-tpls-[version].min.js. If, on the other hand default templates are not what you need you could takeui-bootstrap-[version].min.js and provide your own templates, taking the default ones (https://github.com/angular-ui/bootstrap/tree/master/template) as a starting point.
About
PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
Resources
License
Code of conduct
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.