Skip to content
vimalshah-agile edited this page Oct 2, 2015 · 3 revisions

Here are list of directives that ngAgile has.

lazy-load // apply lazy load when document is scrolled 70% from window.

###1. Lazy Load


Usage:

<div lazy-load callback="getData()"></div>

Where getData is some controller function that fetches content via ajax.

Clone this wiki locally