Skip to content
This repository was archived by the owner on Dec 25, 2025. It is now read-only.
This repository was archived by the owner on Dec 25, 2025. It is now read-only.

Struggling to implement this into an existing AngularJS project #15

@sterichards

Description

@sterichards

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions