APP_INITIALIZER

const

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

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

© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v6.angular.io/api/core/APP_INITIALIZER