Skip to content

christian-fei/angular-err-src

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-err-src

npm install --save angular-err-src

Example integration

angular.module('app', ['angular-err-src'])

and in your views you can use it like this:

img(ng-src="{{vm.image}}", err-src="https://placeholdit.imgix.net/~text?txtsize=33&txt=Preview+currently+unavailable&w=300&h=220")

UMD

This is an UMD package.

License

Do whatever you please with this.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published