title: How can I use Rollbar only in the product environment? (Angular)
body: <p>I am implementing a Rollbar in my angular 8 project.</p>
  <pre><code>providers: [
          { provide: ErrorHandler, useClass: RollbarErrorHandler },
          { provide: RollbarService, useFactory: rollbarFactory }
  ],
  </code></pre>
  <p>I want the angular ErrorHandler class to be used in the Local environment. But I want the rollbar to be used in the product environment.</p>