title: HTTP_INTERCEPTOR for specific routes in Angular 4+
body: <p>I have created HTTP_INTERCEPTOR, I need it to work on some specific routes and some others not.</p>
  
  <p>At the begining it was in the main app module file,
  then I removed it from there and add it in some modules,but it still work on all routes , then i added it in component.ts but not worked at all.</p>
  
  <pre><code>{
              provide: HTTP_INTERCEPTORS,
              useClass: AuthExpiredInterceptor,
              multi: true,
              deps: [Injector]
  },
  </code></pre>