Angular.js directive to switch dynamically the background image of the element