I'm tying to get the child route data('layout') from parent component using
ActivatedRoute. I have tried the following example and I'm able to get the data I'm looking for but only for one time. During child route changes, I don't see the updated 'layout' value.
const routes: Routes