Created
February 12, 2019 04:29
-
-
Save NetanelBasal/a3a2cf9a5ccc8a99cdc7ea16ddc59da8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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