To call the web services $resource or $http you can use the following ways:-
The $http is for general purpose AJAX. In most cases, this is what you'll be using. With $http you're going to be making GET, POST, DELETE type calls manually and processing the objects they return on your own. Whereas the $resource wraps $http for use in RESTful web API scenarios.