nginfyscroll
Version:
Simple infinte scrolling directive for angularjs
29 lines (22 loc) • 438 B
Markdown
# angularInfyScroll
A simple infinty scroll for angularjs
NPM
```bash
$ npm i nginfyscroll
```
BOWER
```bash
$ bower i nginfyscroll
```
## How to use
Make sure the script is included in index.html
Inject in app.js
```js
angular
.module('myApp',['infyScroll']);
```
pass in your function as the value of ng-infy-scroll with out parentheses
```html
<div ng-infy-scroll="loadMore">
```
Help and contributions always accepted 😀