Clearcode AngularJS pagination counter service.