RxJS comes with concept of Subject.
You can look at below article for more details.
In our project we used Subject to pass value from One Component to Another.
Can this be used with AngularJS (1.x) ? Because I'm only seeing references with Angular2
I never tried AngularJS(1.x) So, not sure about practicality of above solution here.
You can have a try.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.