angular-err-src

1.0.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i angular-err-src

Weekly Downloads

6

Version

1.0.4

License

none

Last publish

Collaborators

  • christian_fei