Commit Graph

4 Commits

Author SHA1 Message Date
Yura Bondarenko
bdc004f64d 93219: Move theme/route subscriptions from AppComponent to ThemeService 2022-07-22 14:25:22 +02:00
Yura Bondarenko
5cb737c7f2 93219: Move general initialization from AppComponent to InitService 2022-07-22 14:25:22 +02:00
Yura Bondarenko
372cddfd5e 93219: Support Router in InitService
For Router to work properly, APP_BASE_HREF must be resolved _before_ the APP_INITIALIZER factory is called (otherwise Angular will attempt to initialize APP_BASE_HREF too soon)
To fix this we add a pre-initialization hook to APP_CONFIG so BrowserInitService can resolve it before APP_INITIALIZER
2022-07-22 14:25:22 +02:00
Yura Bondarenko
39c2aa85ec 93219: Move APP_INITIALIZER logic into InitService 2022-07-18 15:58:07 +02:00