Closed filmsklz closed 8 years ago
Hi filmsklz, in the default package, chart is already included. It's also already in the index.modules.js file added like angular.module('app.components'),['chart.js', etc etc])
To add it into your component, add chart to your constructor.
When i want to import other module with bower ,What should I do ? Now i'm add package name into angular.module('app.components') but can not working. (in laravel5-angular-material-starter)
hi @filmsklz you're probably missing angular-chart.js in your bower.json see bower.json#L24. update your file and do a bower install
Thank you ,The problem is solved.
how can i enable select2 or datetimepicker on my project
may i know the steps to add new modules from bower_components
I can not use 'chart.js' . I am install chart.js with bower and add it like this " angular.module('app.components', ['chart.js']) " when refresh my site, show errors
how can i fix this problem ? thank you