Pentiado / angular-lazy-img

Lightweight lazy load images plugin. Only 1kb after gziping. Pure JavaScript, only Angular as dependency.
MIT License
178 stars 66 forks source link

Cant add container of images in angular.config() #41

Open YagoLopez opened 6 years ago

YagoLopez commented 6 years ago

Im using ionic 1.5 (in particular <ion-content>) as container for a list of images. But when try to use lazyImgConfigProvider during angular config phase <ion-content> doesnt exist in dom.

Is there any way to config <ion-content id="my-container"> as a container for a list of lazy-loaded images?

Thanks.