You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+23-4
Original file line number
Diff line number
Diff line change
@@ -31,12 +31,12 @@ Do you want to see directives in action? Visit http://angular-ui.github.io/boots
31
31
32
32
# Angular 2
33
33
34
-
Are you interested in Angular 2? We are on our way! Check out [ng-bootstrap](https://github.com/ui-bootstrap/core).
34
+
Are you interested in Angular 2? We are on our way! Check out [ng-bootstrap](https://github.com/ui-bootstrap/core).
35
35
36
36
# Installation
37
37
38
38
Installation is easy as UI Bootstrap has minimal dependencies - only the AngularJS and Twitter Bootstrap's CSS are required.
39
-
*Notes:*
39
+
*Notes:*
40
40
* Since version 0.13.0, UI Bootstrap depends on [ngAnimate](https://docs.angularjs.org/api/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.
41
41
* UI Bootstrap depends on [ngTouch](https://docs.angularjs.org/api/ngTouch) for swipe actions. Include `ngTouch` in the module dependencies for your app in order to enable swiping.
42
42
@@ -89,9 +89,10 @@ When you are done downloading all the dependencies and project files the only re
89
89
angular.module('myModule', ['ui.bootstrap']);
90
90
```
91
91
92
-
# Webpack
92
+
# Webpack / JSPM
93
93
94
-
To use this project with webpack, follow the [NPM](#install-with-npm) instructions. Now, if you want to use only the accordion, you can do:
94
+
To use this project with webpack, follow the [NPM](#install-with-npm) instructions.
95
+
Now, if you want to use only the accordion, you can do:
@@ -112,6 +113,24 @@ This will load all the dependencies (if any) and also the templates (if any).
112
113
113
114
Be sure to have a loader able to process `css` files like `css-loader`.
114
115
116
+
If you would prefer not to load your css through your JavaScript file loader/bundler, you can choose to import the `index-nocss.js` file instead, which is available for the modules:
117
+
* carousel
118
+
* datepicker
119
+
* datepickerPopup
120
+
* position
121
+
* timepicker
122
+
* tooltip
123
+
* typeahead
124
+
125
+
The other modules, such as `accordion` in the example below, do not have CSS resources to load, so you should continue to import them as normal:
0 commit comments