I subscribed on changes in routing:
public ngOnInit() {
this.subscription = this.activateRoute.params.subscribe(params => {
this.language = params['id'];
});
console.log(this.language);
}
But when I change route path by click link I can not see console.log(this.language);
. It is not displayed. There are not errors.
Why?