txbm / angular-chartjs

Directive set for the ChartJS library. Supports data bindings and attribute-level specification for chart specific options. The only Angular ChartJS module that supports ALL chart options as HTML5 attributes :)
MIT License
146 stars 37 forks source link

component breaks when using uglify #35

Open kdekooter opened 9 years ago

kdekooter commented 9 years ago

Error: [$injector:unpr] Unknown provider: aProvider <- a <- cjsDoughnutDirective

This is probably caused by the way this component creates directives dynamically. ngAnnotate seems to ignore this script.