top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is use for $resouce in Angular.js?

0 votes
330 views
What is use for $resouce in Angular.js?
posted Dec 31, 2017 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Angular’s $resource is a factory that lets you interact with RESTful backends easily.
The $resource service doesn’t come bundled with the main Angular script. You need to download a separate file called angular-resource.js and include it in your HTML page.

Resource Methods

get()
query()
save()
remove()
delete()
answer Jan 31, 2018 by Aarati Mahajan
...