Angular $http is a great interface for making HTTP requests. It is configurable, easy-to-use and comes out of the box with each version of Angular. HTTP Interceptors give the $http service a whole new level of usability by allowing app wide configuration of the standard $http request. With Interceptors you can customize request headers, parse XML responses, and even implement a request retry service all without changing the already defined $http() function call!
In this presentation we’ll dive into everything you need to know to get up and running with HTTP Interceptors!
External Sources/References:
https://github.com/jshcrowthe/HTTPInterceptor-demo
https://jcrowther.io/2015/05/19/angular-js-http-interceptors/