seriouslytech.com
Wrapping an RxJS observable stream into an Angular service
How to create an injectable service that emits a stream of values, and a UI component that subscribes to this stream, displaying its values in real time. Angular’s dependency injection mechanism al…