Open ObaidUrRehman opened 9 years ago
Given the following array of slides array:
$scope.slideshow.slides = [ 'http://flexslider.woothemes.com/images/kitchen_adventurer_cheesecake_brownie.jpg', 'http://flexslider.woothemes.com/images/kitchen_adventurer_lemon.jpg', 'http://flexslider.woothemes.com/images/kitchen_adventurer_donut.jpg', 'http://flexslider.woothemes.com/images/kitchen_adventurer_caramel.jpg' ];
If I try to update the src of any of the slides like this:
$scope.slideshow.slides[0] = "http://lorempixel.com/704/444/cats";
It does not reflect on the UI. I guess you'd need to handle that as well in your $watchCollection method.
$watchCollection
I'm facing the same problem!! Could you help us on it?
Given the following array of slides array:
If I try to update the src of any of the slides like this:
It does not reflect on the UI. I guess you'd need to handle that as well in your
$watchCollection
method.