You use the GET verb to fetch data (though you can also use POST to carry your parameters on the request body). using a Angular service you could request your data like so
with GET
in your service
return $http.get('url/to/data', {
params: {id: id}}
)
or by using path params
return $http.get('url/to/data/' + id)
in your controller
myHttpService().get(id).then(function(response) {
$scope.tableData = response.data;
})
go through the $http docs, they are very helpful show several examples for remote server calls
then in your smart table markup
<tbody">
<tr ng-repeat="row in tableData">
<td>{{row.id}}</td>
<td>{{row.name}}</td>
</tr>
</tbody>
to get current page, use the st-paginate directive to add a pagination to your
<tr>
<td colspan="2" class="text-center">
<div st-pagination="" st-items-by-page="itemsByPage" st-displayed-pages="5"></div>
</td>
</tr>
use the st-search directive to filter your data globally or by rows
<th st-sort="id">id</th>
<th st-sort="name">name</th>