I also installed chart,chart.js using primeng, but mistakenly reported that chart is not defined

I also installed chart,chart.js using primeng, but mistakenly reported that chart is not defined

item angular-cli.json item apps has been added under the file:
"scripts": [
"../node_modules/chart.js/dist/Chart.js",
...
]