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 is art compilation?

0 Answers  


How to share information between controllers in AngularJS?

1 Answers  


How AngularJS is different from other JavaScript Framework?

1 Answers   SLK Software,


What are the different types of directive?

0 Answers  


How do you use ng value?

0 Answers  


Explain angular js boot process.

0 Answers  


How did you hidden (not hide) the element in jquery?

0 Answers  


What are the most important features of angularjs?

0 Answers  


How is shadow dom helping angular 2 to perform better?

0 Answers  


Explain the concept of scope hierarchy?

0 Answers  


What is the aot compilation?

0 Answers  


Difference betweek javascript, jquery and angularjs?

0 Answers  


Categories