Results in an error: Error: [$injector:modulerr] Failed to instantiate module oc.lazyLoad due to: Error: [$injector:nomod] Module 'chart.js' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
I've also tried it this way and gotten the same error.
Trying to do something like this:
Results in an error:
Error: [$injector:modulerr] Failed to instantiate module oc.lazyLoad due to: Error: [$injector:nomod] Module 'chart.js' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
I've also tried it this way and gotten the same error.
Is there something I'm missing?