title: Angular 2 injector can't find Service when loading CustomExceptionHandler
body: <p>When trying to inject a service into my CustomExceptionHandler, the Angular injector cannot find the service.</p>
  
  <p>The error: <code>Uncaught Can't resolve all parameters for CustomExceptionHandler: (?).</code></p>
  
  <p>The setup:</p>
  
  <p><strong>CustomExceptionHandler</strong></p>
  
  <pre><code>import { ExceptionHandler } from '@angular/core';
  
  import { ServiceA } from '../services/a.service';
  
  export class CustomExceptionHandler extends ExceptionHandler {
  
    constructor(private serviceA: ServiceA) {
      super(null, null);
    }
  
    call(error, stackTrace = null, reason = null) {
        //do something with the service
    }
  }
  </code></pre>
  
  <p><strong>app.module</strong></p>
  
  <pre><code>@NgModule({
    declarations: [
      ...
    ],
    imports: [
      ...
    ],
    providers: [
      ServiceA,
      { provide: ExceptionHandler, useClass: CustomExceptionHandler },
    ],
    bootstrap: [AppComponent],
  })
  export class AppModule { }
  </code></pre>