Simple Pagination With AngularJS and JSON using PHP