I have a problem with collection-repeat and items with background-image.
Assigning a dynamic bg doesn’t work… I always see the same bg-images (3-4) repeated in loop… It’s fine if I switch to ng-repeat or if I use <img> (with collection-repeat).
Your directive doesn’t work very well… it’s exactly the problem I had before… If you don’t use $observe the bg are not updated with the current value and as you can see the bgs are duplicated!
Hmm, interesting. Yeah I guess $observe is needed when you evaluate the express right in the directive. Maybe add the timeout along with the observe so angular doesn’t have to process all of ionic plus the images and can run in the next scope digest