Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nervgh/angular-pagination
- Owner: nervgh
- License: mit
- Created: 2014-05-28T20:15:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-06T11:49:49.000Z (over 10 years ago)
- Last Synced: 2024-11-01T09:34:12.217Z (15 days ago)
- Language: JavaScript
- Size: 172 KB
- Stars: 15
- Watchers: 5
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
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)