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

masonryProvider missing by following the example #32

Open
madks13 opened this issue Dec 22, 2015 · 3 comments
Open

masonryProvider missing by following the example #32

madks13 opened this issue Dec 22, 2015 · 3 comments

Comments

@madks13
Copy link

madks13 commented Dec 22, 2015

So i've downloaded the ZIP file.
Included the only file in the src folder in my page.
Added 'masonry' to the app and the controller in which the masonry will be used.
Copy-pasted the html directive from the example to my page (only the masonry="..." and masonry-tile parts).

And i get the following error :
Error: [$injector:unpr] Unknown provider : masonryProvider <- masonry <- bodyController

'bodyController' is obviously the name of the controller in which i placed the masonry directives.

Am i missing something here or is the module not working as intended?

@aligajani
Copy link

Same here @madks13 , did you figure it out?

@jodytate
Copy link

This can sometimes mean you haven't added wu.masonry as a dependency. It should look something like this:

angular.module('yourApp', ['wu.masonry'])

@esslamben
Copy link

You just need to include the masonry js file from https://npmcdn.com/[email protected]/dist/masonry.pkgd.min.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

4 participants