Chartjs-Generator-angular-fullstack cannot add angular-chart.js

1👍

I have found the bug !!

Here is my changes

app.js

import chartJs from 'angular-chart.js';
angular.module('myApp', [chartJs]);

angular.element(document)
  .ready(() => {
    angular.bootstrap(document, ['myApp'], {
      strictDi: true
    });
  });

The library name was wrong, and I can enable again the “strict mode”.

Leave a comment