devmark / angular-slick-carousel

Angular directive for slick-carousel
http://devmark.github.io/angular-slick-carousel/
MIT License
353 stars 125 forks source link

Accessing current child ng-repeat object from slick into parent ng-repeat #111

Open Gourav102 opened 7 years ago

Gourav102 commented 7 years ago

I'm using angular 1.5.8 and slick slider 1.6.0. In my project, I have one parent ng-repeat and a child ng-repeat. My slick slider contains one ng-repeat which receives images from API data. My current parent ng-repeat object is referred as 'key' while my current child ng-repeat object is referred as 'thumbkey' (in key.allimages). If I could get 'thumbkey' object (as it is I'm receiving from API) on 'init' or 'afterchange' event of slider, it would be better as I want to change some values inside the object.