You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
$resource for creating resource objects should allow you to retrieve the status codes coming back from REST endpoints. While there is interceptor with individual rest verbs while setting up $resource, that becomes a pain to add it each time. It should be as simple as passing an argument to the constructor or being able to modify the $resource globally so all responses give back the status. What I have found is trying to use interceptors with $resource doesn't work as expected.
Literally, all I am doing is this to currently get back the status for $resource when the data comes back: