Skip to content
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

Struggling to implement this into an existing AngularJS project #15

Open
sterichards opened this issue Aug 16, 2018 · 0 comments
Open

Comments

@sterichards
Copy link

sterichards commented Aug 16, 2018

I've added angular-d3-word-cloud into app.js .module - that's OK, no errors

I've added the function appController block into a custom controller - that's OK, no errors

I've added the HTML into the view that's calling the controller I added function appController into - that's OK, no errors

I've added $window, $element into the controllers function but I get the error - angular.js:15018 Error: [$injector:unpr] Unknown provider: $elementProvider <- $element

I'm using custom controllers and not putting the controller code inside of app.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant