Skip to content

Instantly share code, notes, and snippets.

@AhsanAyaz
Created January 29, 2018 15:26
Show Gist options
  • Save AhsanAyaz/0050443895bbc1e19406cb3208eeae87 to your computer and use it in GitHub Desktop.
Save AhsanAyaz/0050443895bbc1e19406cb3208eeae87 to your computer and use it in GitHub Desktop.
...
import { NgModule, ErrorHandler } from '@angular/core';
import { IonicApp, IonicModule } from 'ionic-angular';
import { AppErrorHandlerProvider } from '../providers/app-error-handler/app-error-handler';
...
@NgModule({
...,
providers: [
...,
{ provide: ErrorHandler, useClass: AppErrorHandlerProvider }
]
})
export class AppModule {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment