Prevented image loading before angular