Skip to content

andrefarzat/ng-load

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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="" />

About

Angular ngLoad directive

Resources

License

Stars

Watchers

Forks

Packages

No packages published