-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
n3-charts and injectors #429
Comments
Have you added the JavaScript file to your HTML file ? |
Yes indeed, but I wish I could avoid putting the link in my html file and let my injector do the work. |
Well even with a bower package you'd still have to include the script file. |
I have included the script file but it still doesn't work. |
I have the same problem. It doesn't load the files in the 'node_modules' directory after installing with npm, and if I do it manually, the error remains the same, but the files are loaded. EDIT: I used the Yeoman generator and n3-chart v1 was working properly. |
I would like to share with you my solution. I moved the n3-charts folder to the bower_components folder. The problem is that the files are not loaded from the node_modules folder. |
If you install something with npm, you shouldn't be looking for it in the bower_components folders... |
I'm trying to add n3-charts to my curent angular project and i'm having trouble getting it injected by gulp or grunt.
So far I tried :
I put the module as a dependency
angular.module('xxxx', [ 'n3-line-chart' ]);
Any idea how to get n3-chart to work on my project ?
The text was updated successfully, but these errors were encountered: