ngInfiniteScroll table example

HTML

<div ng-app="myApp" ng-controller="myCtrl" >
<table>
    <thead>
        <tr>
            <th>First Name</th>
            <th>Last Name</th>
        </tr>
    </thead>
    <tbody>
        <tr ng-repeat="user in users">
            <td>{{user.fname}}</td>
            <td>{{user.lname}}</td>
        </tr>
    </tbody>
</table>
</div>

JavaScript

angular.module('myApp', [])
.controller('myCtrl', ['$scope','$http', function($scope, $http) {
    var config = {
        params: {
            'rows': 30,
            'fname': '{firstName}',
            'lname': '{lastName}',
            'callback': "JSON_CALLBACK"
        }
    }
    
    $http.jsonp("http://www.filltext.com", config, {}).success(function (data) {
        $scope.users = data
    });
}]);