Closed marineb closed 8 years ago
I'm having the same issue. It looks like the rawgit.com url is not resolving.
Failed to load resource: the server responded with a status of 404 (Not Found) https://rawgit.com/petermelias/angular-chartjs/master/src/angular-chartjs.js
Uncaught Error: [$injector:modulerr] Failed to instantiate module plunker due to:
Error: [$injector:modulerr] Failed to instantiate module chartjs due to:
Error: [$injector:nomod] Module 'chartjs' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.2.0/$injector/nomod?p0=chartjs
at https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js:78:12
at https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js:1498:17
at ensure (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js:1434:38)
at module (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js:1496:14)
at https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js:3520:22
at Array.forEach (native)
at forEach (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js:300:11)
at loadModules (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js:3514:5)
at https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js:3521:40
at Array.forEach (native)
http://errors.angularjs.org/1.2.0/$injector/modulerr?p0=chartjs&p1=Error%3A…F1.2.0%2Fangular.js%3A3521%3A40%0A%20%20%20%20at%20Array.forEach%20(native)
at https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js:78:12
at https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js:3548:15
at Array.forEach (native)
at forEach (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js:300:11)
at loadModules (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js:3514:5)
at https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js:3521:40
at Array.forEach (native)
at forEach (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js:300:11)
at loadModules (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js:3514:5)
at createInjector (https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js:3454:11)
http://errors.angularjs.org/1.2.0/$injector/modulerr?p0=plunker&p1=Error%3A….googleapis.com%2Fajax%2Flibs%2Fangularjs%2F1.2.0%2Fangular.js%3A3454%3A11) angular.js:3548
It tried to redo the rawgit url, but that didn't work either. The problem may in fact be with rawgit.
managed to get it running on localhost, the repo comes with the same sample and the routing to 'angular-chartjs.js' is wrong.
http://embed.plnkr.co/pC7gJ7/preview
Can't manage to see any data there. Is it just me?