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’s the difference between form, formgroup, and formcontrol? How do they work together?

0 Answers  


What is a view in angular?

0 Answers  


How can we create a component using angular cli?

0 Answers  


What is * ngfor?

0 Answers  


Why should I use angular?

0 Answers  


Explain what is string interpolation in angular.js ?

0 Answers  


What are templates?

0 Answers  


Is angular 8 released?

0 Answers  


What are custom directives?

0 Answers  


What is subscribe in angular?

0 Answers  


What are angular templates?

0 Answers  


Explain bootstrapping in angularjs?

0 Answers  


Categories