I have 2 modules: root module and module for authorization (lazy loaded). Root module has footer block, which I'd like to hide on "auth" route. I've tried to pass data through module routes such as:
{path: 'auth', component: AuthComponent, data: {hideFooter: true}}
But root module component can't find the data, it always {}
. I can get this data only in auth component. How can I do that, or there is another way to solve my problem?