-
+

UI Bootstrap

-

Bootstrap components written in pure AngularJS by the AngularUI Team

+

Bootstrap components written in pure AngularJS by the AngularUI Team

-

- Code on Github - +

+ Code on Github + Download (<%= pkg.version%>) - Create a Build + Create a Build

-
-
-
    -
  • - -
  • -
  • - -
  • -
  • - - -
  • -
  • - -
    +
    +
      +
    • + +
    • +
    • + +
    • +
    • + + +
    • +
    • + +
      - - -
    • -
    -
    + + +
  • +
-
+
- -
+
+ +
+ +
+

Dependencies

This repository contains a set of native AngularJS directives based on @@ -127,8 +142,8 @@

Dependencies

JavaScript is required. The only required dependencies are:

Files to download

@@ -144,63 +159,54 @@

Files to download

Installation

As soon as you've got all the files downloaded and included in your page you just need to declare a dependency on the ui.bootstrap module:
- angular.module('myModule', ['ui.bootstrap']); +

angular.module('myModule', ['ui.bootstrap']);

You can fork one of the plunkers from this page to see a working example of what is described here.

CSS

Original Bootstrap's CSS depends on empty href attributes to style cursors for several components (pagination, tabs etc.). - But in AngularJS adding empty href attributes to link tags will cause unwanted route changes. - This is why we need to remove empty href attributes from directive templates and as a result - styling is not applied correctly. The remedy is simple, just add the following styling to your application: - - .nav, .pagination, .carousel, .panel-title a { - cursor: pointer; - } - + But in AngularJS adding empty href attributes to link tags will cause unwanted route changes. This is why we need to remove empty href attributes from directive templates and as a result styling is not applied correctly. The remedy is simple, just add the following styling to your application:

.nav, .pagination, .carousel, .panel-title a { cursor: pointer; }

-
-
-
- <% demoModules.forEach(function(module) { %> -
-
- -
-
- <%= module.docs.html %> -
-
- <%= module.docs.md %> +
+ <% demoModules.forEach(function(module) { %> +
+ +
+
+ <%= module.docs.html %> +
+
+ <%= module.docs.md %> +
-
-
-
-
-
- +
+
+
+
+ +
+ + +
+
<%- module.docs.html %>
+
+
+ +
+
<%- module.docs.js %>
+
+
+
- - -
-
<%- module.docs.html %>
-
-
- -
-
<%- module.docs.js %>
-
-
-
-
-
- - - <% }); %> + + + <% }); %> +
+