Angular paginator directive to be used with ng-repeat.