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()