i should retrieve some data (autorisations) with an api call before the load of component. is it possible to create a resolver for app.component.ts or it is a bad solutions ? this.service.user$.subscribe({ next: () => { this.autorisations = this.headerService.recupererDroitsHeader(); }, }); Continue reading...