I am developing an app with angle 6 and firebase. I have a service for the login "auth.service.ts" which returns the promise to verify the user's login status.
My question is whether I should invoke the service and run all the promise from all the components or any way I can do it once and that the data stored in a variable (say "user") is available in all components.