Uncaught Error: [$injector:modulerr] Error: [$injector:nomod] Module 'chart.js' is not available

๐Ÿ‘:0

load the scripts is this order before </body> tag:
Angular -> Chart.js -> angular-charts

You have loaded the script after </body> tag

<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.8/angular.min.js"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.2.2/Chart.min.js"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-chart.js/1.0.2/angular-chart.min.js"></script>

And then load your script.

Leave a comment