1.0.2 • Published 11 years ago
ng-load v1.0.2
ng-load
Angular ngLoad directive
Installing
Install via bower
bower install ng-load --saveAdd a <script> to your html
<script src="bower_components/ng-load/ng-load.js"></script>Usage
// add 'ngLoad' as dependency to your module
var yourModule = angular.module("yourModule", ['ngLoad']);You can add the ng-load directive in <img> tags
<img src="beautifulImage.jpg" ng-load="someFunction()" alt="" />