como saber cuando un link cambia angular

class MyClass {
     constructor(private router: Router) {
       router.events.subscribe((val) => {
           // see also 
           console.log(val instanceof NavigationEnd) 
       });
     }
}
Annoyed Ant