-
Notifications
You must be signed in to change notification settings - Fork 61
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
Load images from json file #59
Comments
You can easily load images from a json file. Make $http call from controller for the json file and assign the result to items. |
I am doing this: but it still doesn't load them. The error logs is: I think the directive doesn't wait for the controller to load the json data. Is that right? Is there a way to make it work? |
I have faced this issue. Use |
You are the best :) I can't believe it was that simple. Thank you very much. |
This is actually a stupid bug the directive has (and I've been meaning to fix that). You can't pass to the directive an undefined array for items |
Hello and congratulation for this great directive.
I want to ask is there a way to load images from a json file and not inside the controller.
If I do so, i think it doesn't load the json file in time to show it.
Can you help me with this?
Thank you in advance.
The text was updated successfully, but these errors were encountered: