Directive for usign fallback image with <img> tag
Inject the directive's module name 'fallback' in you application's module.
Usage of fallbacksrc directive:
<img ng-src="{{url}}" fall-back-src="default.jpg"/>
Usage of actualsrc directive:
<img actual-src="{{url}}" ng-src="default.jpg"/>
vaibhavguptaiitd / angular-fallback-image-directive Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sesubash/angular-fallback-image-directive
Angular fallback image directive