I am using ActivatedRoute
and subscribing to its params
to get triggered. But, the subscription is not triggering.
Code:
constructor(public activatedRoute: ActivatedRoute) {
this.activatedRoute.params.subscribe((params : any) => {
console.log(params);
});
}
I am unable to know the issue. Please help me solve this.
Thank you...