Question d’entretien chez Backbase

What is app_initializer in angular?

Réponse à la question d'entretien

Utilisateur anonyme

22 févr. 2022

The APP_INITIALIZER is an instance of InjectionToken . It is a built in Injection token provided by Angular. The Angular will execute the function provided by this token when the application loads. If the function returns the promise, then the angular will wait until the promise is resolved.