An open API service indexing awesome lists of open source software.

https://github.com/dbtek/angular-scroll-section-loader

Angular directive for auto section loading with scroll event
https://github.com/dbtek/angular-scroll-section-loader

Last synced: 11 months ago
JSON representation

Angular directive for auto section loading with scroll event

Awesome Lists containing this project

README

          

#Angular JS Scroll Section Loader
Auto section loader with scroll event for Angular JS.

##Install
Bower: ```bower install angular-scroll-section-loader```

##Usage
Include module in your html.
```html

```

Add ```scrollSectionLoader``` as a dependency in your Angular app.
```js
var app = angular.module('myApp',['scrollSectionLoader']);
```

In controller:
```js
$scope.sections = ['about','services','contact']; //html files to load (about.html, etc)
$scope.loadedSections = [$scope.sections[0]]; //loaded html files
```

In html:
```html

```

##Author
Ismail Demirbilek [@dbtek](http://twitter.com/dbtek)

##License
[MIT](http://opensource.org/licenses/MIT)