How to use APP_INITIALIZER in Angular

APP_INITIALIZER is a DI token that you can use to provide one or more initialization functions. The provided functions are injected at application startup and executed during app initialization. If any of these functions returns a Promise or an Observable, initialization does not complete until the Promise is resolved or the Observable is completed. This … Continue reading “How to use APP_INITIALIZER in Angular”