score:0

i get an error trying to use your statement

angular.element('#chart')

meaning you're never selecting the chart element

try using the following to select your chart element.

angular.element( document.queryselector( '#chart' ) );

hope this helps!


More Query from same tag