APP_INITIALIZER

A function that will be executed when an application is initialized.

const APP_INITIALIZER: InjectionToken<(() => void)[]>;