Element background image preloader directive and example