How to use Angular APP_INITIALIZER token to execute functions during bootstrapping application
Angular APP_INITIALIZER token –APP_INITIALIZER is an injection token that allows you to provide one or more initialization functions.
Programming Blog
Angular APP_INITIALIZER token –APP_INITIALIZER is an injection token that allows you to provide one or more initialization functions.