Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nervgh/angular-pagination

Angular Pagination is a module for the AngularJS framework
https://github.com/nervgh/angular-pagination

Last synced: 8 days ago
JSON representation

Angular Pagination is a module for the AngularJS framework

Awesome Lists containing this project

README

        

#Angular Pagination

## About

**Angular Pagination** is a module for the [AngularJS](http://angularjs.org/) framework.

## Usage
Simple example:
```js
angular

.module('app', ['angularPagination'])

.controller('AppController', function($scope, Pagination) {
var pagination = $scope.pagination = Pagination.create({
itemsPerPage: 10,
itemsCount: 100,
maxNumbers: 5
});

pagination.onChange = function(page) {
console.info('page=', page);
};
});
```
```html








```
See [demo](http://nervgh.github.io/pages/angular-pagination/examples/base) of full functionality

## Demos
1. [Example of full functionality](http://nervgh.github.io/pages/angular-pagination/examples/base)
2. [Example of directive 1](http://nervgh.github.io/pages/angular-pagination/examples/directive-1)
3. [Example of directive 2](http://nervgh.github.io/pages/angular-pagination/examples/directive-2)