Hi,
I have used $http to make the rest call. Since its a REST endpoint, it doesnt matter if the backend is implemented in java or .net or ruby etc.
eg. call to a REST service.
var url = 'your_rest_endpoint_url';
return $http.get(url).
success(function(data, status, headers, config) {
return data; //response from your REST service
}).
error(function(data, status, headers, config) {
console.log("ERROR : " + JSON.stringify(data));
});
See : https://docs.angularjs.org/api/ng/service/$http for more details.
Hope this helps.