ng-holder
ng-holder copied to clipboard
An AngularJS directive for HolderJS.
- [x] Added `$timeout` for late initialization, adding possibility to use variables in `data-src` - [x] Added `$attrs.$observe` as mentioned in https://github.com/joshvillbrandt/ng-holder/issues/1 and https://github.com/joshvillbrandt/ng-holder/issues/2 - [x] Fixed README to match...
Is it possible to dynamically change `img` based on the text set by controller?
Hi, this fixes case where ngSrc directive is used and 'src' property is not yet interpolated -> holder.js cannot show any image. attrs.$observe('src', function(value) { Holder.run({images:element[0]}); }); // example ctrl...