Angular directive to show a default image/loader while an image is loading