APP_BOOTSTRAP_LISTENER
From Get docs
< @angular/coreAngular/docs/latest/api/core/app bootstrap listener
APP_BOOTSTRAP_LISTENER
const
A DI token that provides a set of callbacks to be called for every component that is bootstrapped.
const APP_BOOTSTRAP_LISTENER: InjectionToken<((compRef: ComponentRef<any>) => void)[]>;
Description
Each callback must take a ComponentRef
instance and return nothing.
(componentRef: ComponentRef) => void
© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/APP_BOOTSTRAP_LISTENER