======
An AngularJS simple directive that binds scroll to an element and fires a callback when the bottom of the element is reached.
- angular.js (of course!), any version starting with 1.2
- angular-mocks.js, any version starting with 1.2
Download the from here
bower install ngScrollFire
-
Add ng-csv.min.js to your main file (index.html).
-
Set
ngScrollFire
as a dependency in your module
var myapp = angular.module('myapp', ['ngScrollFire'])
- Add ng-csv directive to the wanted element, example:
<div class="card" ng-scroll-fire="showMore()">New Card</divn>