This repository was archived by the owner on May 29, 2019. It is now read-only.
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed 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
94
94
You can generate a custom build, containing only needed modules, from the project's homepage.
95
95
Alternatively you can run local Grunt build from the command line and list needed modules as shown below:
96
96
97
- ```
97
+ ``` javascript
98
98
grunt build: modal: tabs: alert: popover: dropdownToggle: buttons: progressbar
99
99
```
100
100
@@ -115,7 +115,7 @@ templates to match your desired look & feel, add new functionality etc.
115
115
116
116
The easiest way to override an individual template is to use the ` <script> ` directive:
117
117
118
- ``` javascript
118
+ ``` html
119
119
<script id =" template/alert/alert.html" type =" text/ng-template" >
120
120
<div class =' alert' ng-class =' type && "alert-" + type' >
121
121
<button ng-show =' closeable' type =' button' class =' close' ng-click =' close()' >Close</button >
@@ -131,7 +131,7 @@ Let's have a look:
131
131
Your own template url is ` views/partials/ui-bootstrap-tpls/alert/alert.html ` .
132
132
133
133
Add "html2js" task to your Gruntfile
134
- ```
134
+ ``` javascript
135
135
html2js: {
136
136
options: {
137
137
base: ' .' ,
@@ -152,7 +152,7 @@ Make sure to load your template.js file
152
152
` <script src="/ui-templates.js"></script> `
153
153
154
154
Inject the ` ui-templates ` module in your ` app.js `
155
- ```
155
+ ``` javascript
156
156
angular .module (' myApp' , [
157
157
' ui.bootstrap' ,
158
158
' ui-templates'
You can’t perform that action at this time.
0 commit comments