Angular\'s ActivatedRoute class has a params Observable that emits the path and matrix params on the activated route. So if I have the following route:
ActivatedRoute
params