I wanted to use the angular interceptor in order to cache http responses in localstorage following the example from the official angular page (https://angular.io/guide/http#