This repository was archived by the owner on May 29, 2019. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ We are always looking for the quality contributions! Please check the [CONTRIBUT
9494You can generate a custom build, containing only needed modules, from the project's homepage.
9595Alternatively you can run local Grunt build from the command line and list needed modules as shown below:
9696
97- ```
97+ ``` javascript
9898grunt build: modal: tabs: alert: popover: dropdownToggle: buttons: progressbar
9999```
100100
@@ -115,7 +115,7 @@ templates to match your desired look & feel, add new functionality etc.
115115
116116The easiest way to override an individual template is to use the ` <script> ` directive:
117117
118- ``` javascript
118+ ``` html
119119<script id =" template/alert/alert.html" type =" text/ng-template" >
120120 <div class =' alert' ng-class =' type && "alert-" + type' >
121121 <button ng-show =' closeable' type =' button' class =' close' ng-click =' close()' >Close</button >
@@ -131,7 +131,7 @@ Let's have a look:
131131Your own template url is ` views/partials/ui-bootstrap-tpls/alert/alert.html ` .
132132
133133Add "html2js" task to your Gruntfile
134- ```
134+ ``` javascript
135135html2js: {
136136 options: {
137137 base: ' .' ,
@@ -152,7 +152,7 @@ Make sure to load your template.js file
152152` <script src="/ui-templates.js"></script> `
153153
154154Inject the ` ui-templates ` module in your ` app.js `
155- ```
155+ ``` javascript
156156angular .module (' myApp' , [
157157 ' ui.bootstrap' ,
158158 ' ui-templates'
You can’t perform that action at this time.
0 commit comments