I want to convert $http.post response to $resource. I am using REST API so for that I have to use $resource. My code is working with $http, Any idea how do I achieve this with $resource? Here is the code.. ThanksI want to convert $http.post response to $resou