Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between $http and $resource?



What is the difference between $http and $resource?..

Answer / chaitanya

$http is good for quick retrieval of server-side data that doesn’t really need any specific structure or complex behaviors. $http is good for retrieval of RESTful server-side data sources that might need any specific structure or complex behaviors.

$resource warps $http and allows you to interact with RESTful server-side data sources. It requires the ngResource module to be installed which exist in angular-resource.js

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More AngularJS Interview Questions

What are the interview questions for angularjs?

0 Answers  


How to use ng-show and ng-hide in angular js?

0 Answers  


Is pipe a system call?

0 Answers  


What are the new features in angular 8?

0 Answers  


What does full stack mean?

0 Answers  


Explain factory methods in angularjs?

0 Answers  


How can someone set, get, and clear cookies in angularjs?

0 Answers  


What is the controller in angularjs?

0 Answers  


What is template angular 2? Why use?

0 Answers  


Explain filter filter angularjs?

0 Answers  


In collection of array how to collect all the true state from active true and active false?

0 Answers  


What would you not put the shared module?

0 Answers  


Categories