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 3232 < script src ="bower_components/angular-loading-bar/build/loading-bar.min.js "> </ script >
3333 < script src ="bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js "> </ script >
3434 < script src ="bower_components/metisMenu/dist/metisMenu.min.js "> </ script >
35+ < script src ="bower_components/Chart.js/Chart.min.js "> </ script >
3536 <!-- endbower -->
3637 <!-- endbuild -->
3738
Original file line number Diff line number Diff line change @@ -111,14 +111,11 @@ angular
111111 controller :'ChartCtrl' ,
112112 resolve : {
113113 loadMyFile :function ( $ocLazyLoad ) {
114- return $ocLazyLoad . load (
115- 'bower_components/Chart.js/Chart.min.js'
116- ) ,
117- $ocLazyLoad . load ( {
114+ return $ocLazyLoad . load ( {
118115 name :'chart.js' ,
119116 files :[
120117 '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' ,
122119 ]
123120 } ) ,
124121 $ocLazyLoad . load ( {
You can’t perform that action at this time.
0 commit comments