Angularjs Post-Receive Hook or Similar?

Viewed 6217

Is there a way to call a function every time after a response is returned from a server without explicitly calling it after in the callback?

The main purpose is that I do have a generic error handler service that I call in every request's callback and I want to specify it somewhere and it shall be called automatically.

2 Answers
Related