0👍
You can define script in angular.json with the latest version of angular and for an old version of angular you can refer angular-cli.json
"scripts": ["./node_modules/chart.js/dist/Chart.js"]
If your project is running and you are changing in file runtime they might not work so stop the server and start again.
- Chartjs-Chart.js using the value of certain data in external json file
- Chartjs-How pass a variable from code behind to javascript
Source:stackexchange.com