Hi, i'm making a busy indicator component, the way i did go with it is to have the component right under the app html component side to side with the <router-outlet></router-outlet> component.
I need to be able to set a variable from anywhere in the code, so i was thinking about observables to send values to it, can't use the angular binding with EventEmitter since the busy component is outside of the components hierarchy.
Any idea how to set it up? i'm a noob about Rxjs, how do i create an observable of the variable and how would i call it from another component to set the value?