Click here to Skip to main content
15,921,452 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm currently working on a project which incorporates both Angular and a LightBox plugin for jQuery called Venobox. The issue i'm facing involves the utilization of ng-repeat with the venobox intialization method. To overcome the issues relating to the initialization being called before the angular repeat has finished, i've created a custom directive to wait until the final item in the list has been displayed. The problem is that when I use ng-repeat within the directive, the click function applies to the entire modal-container instead of the individual boxes. However, the directive works flawlessly without ng-repeat. The problem has been re-created on the following plunker;

http://plnkr.co/edit/YJHMhdosWyupc4Wus8Zh?p=preview

Any information or an alternative solution would be a huge help.
Thanks guys & gals.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900