I have a component in my Angular2 app that loads some particular data (i.e. an ID) that is absolutely necessary for all other components who use that data to load other stuff from the backend.
I've run into a problem when I refresh the browser that certain components start making their HTTP requests before the important one with the ID has returned what poses a problem as they need that ID.
Does anyone have a proper solution for that problem in Angular 2?