It works fine on desktop, but on iOS simulator/iPhone it's not rendered when page is first rendered, but if i swipe to another page and come back then it appears. It could be a racing condition that image is rendered in DOM before angular-retina.js is executed. Btw, I load the angular-retina.js right after angular.js.
Please let me know if there's a way to delay the rendering of the image so angular-retina.js can replace all the image srcs before displaying the images.
Could you please send me a code snipped of your HTML, preferably on jsfiddle or http://plnkr.co/
BTW, I can't test on iPhone Retina, because I don't have any.
It works fine on desktop, but on iOS simulator/iPhone it's not rendered when page is first rendered, but if i swipe to another page and come back then it appears. It could be a racing condition that image is rendered in DOM before angular-retina.js is executed. Btw, I load the angular-retina.js right after angular.js.
Please let me know if there's a way to delay the rendering of the image so angular-retina.js can replace all the image srcs before displaying the images.
Thanks Lance