showing results for - "get child routes using parent in angular"
Paula
30 Mar 2020
1constructor(private _route: ActivatedRoute, private _router: Router)
2
3this._router.events
4.filter(event => event instanceof NavigationEnd)
5 .subscribe(
6    () => {
7       console.log(this._route.snapshot.firstChild.data);
8    }
9);
10