wr-angular-image
v1.0.0
Published
Simple angular module to include `<img>` and bind its `src` attribute to given model property.
Downloads
2
Maintainers
Readme
wr-angular-image
Simple angular module to include <img>
and bind its src
attribute to given model property.
Install
npm install wr-angular-image
Usage
....
<script src="wr-angular-image/dist/wr-angular-image.min.js"></script>
....
<div wr-image="yourModel.imageUrlProperty"></div>
....
angular.module('yourModule', ['wr-image'])