Fix imagesLoaded when using ng-src