Help Angular by taking a 1 minute survey!Go to surveyHome

APP_INITIALIZER

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

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