In Angular, Location is "A service that applications can use to interact with a browser's URL."
It offers a getState() method which providers "the current state of the location history" and a subscribe() method so one can subscribe to the "platform's popState events.".
These are both useful, however I'm wondering how I can access the observable of the Location so I can .pipe to it and use some rxjs operators before using .subscribe on it
Propbably not the cleanest solution but as the Location API doesn't offer anything, why not:
Subscribe to router, map to location state: