Skip to content

Instantly share code, notes, and snippets.

@NetanelBasal
Created February 12, 2019 04:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NetanelBasal/a3a2cf9a5ccc8a99cdc7ea16ddc59da8 to your computer and use it in GitHub Desktop.
Save NetanelBasal/a3a2cf9a5ccc8a99cdc7ea16ddc59da8 to your computer and use it in GitHub Desktop.
import { EVENT_MANAGER_PLUGINS } from "@angular/platform-browser";
@NgModule({
providers: [
{
multi: true,
provide: EVENT_MANAGER_PLUGINS,
useClass: MyPlugin
}
],
bootstrap: [AppComponent]
})
export class AppModule {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment