johnpapa / angular-styleguide

Angular Style Guide: A starting point for Angular development teams to provide consistency through good practices.
http://johnpapa.net
MIT License
23.87k stars 4.15k forks source link

Where is the best location to place HttpInterceptors? #844

Open cknightdevelopment opened 7 years ago

cknightdevelopment commented 7 years ago

I was wondering where the best location might be to place classes that inherit from HttpInterceptor? I am have interceptors for logging, caching, authorization, etc. Would these be appropriate in CoreModule? Same question for route guards. Thanks!