We have a service which works as an HTTP interceptor in our development environment. It adds some special debug and authentication headers to ease the development.
However, we don't want this service to appear in production or even to be added to the compiled source code.
How do we completely remove some Angular service from production build?
Are there some kind of compiler directives which we could use?