<commit_before>
A lightweight pagination directive that is focused on ... providing pagination & will take care of visualising a pagination bar and enable / disable buttons correctly!

### Pagination Settings ###

Settings can be provided as attributes in the `<pagination>` or globally configured through the `paginationConfig`.

 * `ng-change`
 	:
 	Call a function on any pagination change.

 * `ng-model` <i class="glyphicon glyphicon-eye-open"></i>
 	:
 	Current page number. First page is 1.

 * `total-items` <i class="glyphicon glyphicon-eye-open"></i>
 	:
 	Total number of items in all pages.

 * `items-per-page` <i class="glyphicon glyphicon-eye-open"></i>
 	_(Defaults: 10)_ :
 	Maximum number of items per page. A value less than one indicates all items on one page.

 * `max-size` <i class="glyphicon glyphicon-eye-open"></i>
 	_(Defaults: null)_ :
 	Limit number for pagination size.

 * `num-pages` <small class="badge">readonly</small>
 	_(Defaults: angular.noop)_ :
 	An optional expression assigned the total number of pages to display.

 * `rotate`
 	_(Defaults: true)_ :
 	Whether to keep current page in the middle of the visible ones.

 * `direction-links`
 	_(Default: true)_ :
 	Whether to display Previous / Next buttons.

 * `previous-text`
 	_(Default: 'Previous')_ :<commit_msg>docs(pagination): add information about ng-change<commit_after>
A lightweight pagination directive that is focused on ... providing pagination & will take care of visualising a pagination bar and enable / disable buttons correctly!

### Pagination Settings ###

Settings can be provided as attributes in the `<pagination>` or globally configured through the `paginationConfig`.

 * `ng-change`
 	:
 	`ng-change` can be used together with `ng-model` to call a function whenever the page changes.

 * `ng-model` <i class="glyphicon glyphicon-eye-open"></i>
 	:
 	Current page number. First page is 1.

 * `total-items` <i class="glyphicon glyphicon-eye-open"></i>
 	:
 	Total number of items in all pages.

 * `items-per-page` <i class="glyphicon glyphicon-eye-open"></i>
 	_(Defaults: 10)_ :
 	Maximum number of items per page. A value less than one indicates all items on one page.

 * `max-size` <i class="glyphicon glyphicon-eye-open"></i>
 	_(Defaults: null)_ :
 	Limit number for pagination size.

 * `num-pages` <small class="badge">readonly</small>
 	_(Defaults: angular.noop)_ :
 	An optional expression assigned the total number of pages to display.

 * `rotate`
 	_(Defaults: true)_ :
 	Whether to keep current page in the middle of the visible ones.

 * `direction-links`
 	_(Default: true)_ :
 	Whether to display Previous / Next buttons.

 * `previous-text`
 	_(Default: 'Previous')_ :
{'fraction_non_alphanumeric': 0.11238447319778189, 'fraction_numerical': 0.0022181146025878, 'mean_word_length': 3.974264705882353, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3077156', 'n_tokens_mistral': 874, 'n_tokens_neox': 763, 'n_words': 308}