Loading indicator not working with b64 images

Hello,

I’m having a very strange behaviour with $ionicLoading, not working the second time I load the home page of my app, which contains 4 B64 images.

On first run, everything works fine, loading indicator shows until the images are downloaded (ajax call) and fades off when the dom is loaded.

Once I navigate on another page, and then go back to the home page, the loading indicator gets delayed, and is visible for some milliseconds before the view is finally rendered.

Doing multiple tests, I’ve seen that if I don’t load the images in the page, everything works fine. Adding just one image starts crippling the loading indicator. Anybody knows why and how could this be solved? I need the loading indicator to show everytime I go to the home page, not just once.