An AngularJS directive for HolderJS.
Install with bower:
bower install holderjs angular-holderjs --save
Add as a dependency in your Angular app:
var app = angular.module('app', [
'ngHolder',
]);
Use directive one of two ways:
<img holder="holder.js/200x200/text:?">
<img holder data-src="holder.js/200x200/text:?">
- Remove dependency on
holderjs
and install it separately in application
- Initial release