Questions tagged [app-initializer]

1 questions
0
votes
1 answer

Using the Angular inject function with a APP_INITIALIZER

With Ivy, Angular introduced the nice inject function. According to the documentation the function can be used "from a provider's factory" accompanied with the following example: providers: [ { provide: Car, useFactory: () => { //…