This is my solution for automatically unsubscribing an observable, adding the @TakeUntilDestory decorator to the component that uses it
https://stackblitz.com/edit/ta