File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 32
32
< script src ="bower_components/angular-loading-bar/build/loading-bar.min.js "> </ script >
33
33
< script src ="bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js "> </ script >
34
34
< script src ="bower_components/metisMenu/dist/metisMenu.min.js "> </ script >
35
+ < script src ="bower_components/Chart.js/Chart.min.js "> </ script >
35
36
<!-- endbower -->
36
37
<!-- endbuild -->
37
38
Original file line number Diff line number Diff line change @@ -111,14 +111,11 @@ angular
111
111
controller :'ChartCtrl' ,
112
112
resolve : {
113
113
loadMyFile :function ( $ocLazyLoad ) {
114
- return $ocLazyLoad . load (
115
- 'bower_components/Chart.js/Chart.min.js'
116
- ) ,
117
- $ocLazyLoad . load ( {
114
+ return $ocLazyLoad . load ( {
118
115
name :'chart.js' ,
119
116
files :[
120
117
'bower_components/angular-chart.js/dist/angular-chart.min.js' ,
121
- 'bower_components/angular-chart.js/dist/angular-chart.css'
118
+ 'bower_components/angular-chart.js/dist/angular-chart.css' ,
122
119
]
123
120
} ) ,
124
121
$ocLazyLoad . load ( {
You can’t perform that action at this time.
0 commit comments