AngularJS Image Preloader Directive

Add an attribute 'preloadimg' to the img tag to make it begin transparent, then fade in when loaded

e.g. <img ng-src="image.jpg" preloadimg>

View here on Plunker: http://plnkr.co/edit/aJNaeFvSCfBBrOuzlGKF