I am familiar with Jquery AJAX call, which has different callbacks like beforeSend, success, complete, etc.
This is the example AJAX call with Jquery:
You can use interceptors
. Search for the word interceptor
into the Angular $http documentation
As the documentation says : For purposes of global error handling, >authentication, or any kind of synchronous or asynchronous pre-processing of >request or postprocessing of responses
EDIT
As Satpal commented, $httpProvider.responseInterceptors
used in the Fiddle is deprecated
. You should use $httpProvider.interceptors
instead.