Simple pagination for AngularJS