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 subscript method in angular?

0 Answers  


Explain what is the difference between angularjs and backbone.js?

0 Answers  


What is @inject()?

0 Answers  


Why should use angular js?

0 Answers  


List some advantages of angular 2 over angular1.

0 Answers  


What are the advantages of angular 2 over angular 1?

0 Answers  


How to validate email in angular 4 using formgroup or custom regexp?

0 Answers  


What are differences between angular 2 and angular 1?

0 Answers  


What are the 3 types of advance directives?

0 Answers  


What is an entry component?

0 Answers  


Explain One-way binding in AngularJS?

0 Answers  


What are angular testing utilities?

0 Answers  


Categories