I\'m trying to use ngTables to sort and filter data using an AJAX call. Currently I am able to replicate the data with an ng-repeat, but none of my sorting functions apply.
{{user.foo}} {{user.bar}}
You can directly refer data in your js no need to $scope.data = data. I tried and worked fine for me.
$scope.data = data