ng-load
v1.0.2
Published
Angular ngLoad directive
Downloads
157
Readme
ng-load
Angular ngLoad directive
Installing
Install via bower
bower install ng-load --save
Add 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="" />