Using Icons From Angular UI Bootstrap

Other topics

Installation

You can also follow the official installation guide here.

Step 1) Get The Angular UI Bootstrap Library Files

via npm:

npm install angular-ui-bootstrap

via bower:

bower install angular-bootstrap

Step 2) Import The Angular UI Bootstrap Module

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

Step 3) Use Some Icons!

You can then add an icon anywhere by creating an tag (yes, the "i" is short for icon) and giving it two classes: one that is always just "glyphicon" and one for the specific glyphicon you want to use. Here is an example:

<i class="glyphicon glyphicon-fire"></i>

Contributors

Topic Id: 8866

Example Ids: 27612

This site is not affiliated with any of the contributors.