Answer the question
In order to leave comments, you need to log in
How to get data from rest via angular?
Hello, I'm trying to get data from api
order.getclient=function(id){
return Restangular
.all('/clients/'+id).customGETLIST(null, null);
};
$scope.client = function() {
Order.getclient($scope.order.id);
};
test: {{client()}}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question