I am frustrated,
I got an $http
call
ApiService.get_request_params("api/endpoint").then(
function(data) {
$scope.customers = data
},
function(err) {
}
);
$scope.customers
should bind to an ng-repeat
i can console.log $scope.customers
i can also enter a manually array in $scope.customers and it works perfectly.
I tried $scope.$apply();
but ofcourse there is the $http $apply in progress.
How do i update the view after the ajax call? Any one!!