In my situation now, I put `data object` in my lazy load component, and I want to get `data` content and show in the html. But I couldn't do it. Here is the script:

```
const routes: Routes = [
    {
        path: '',
        component: CancellationComponent,
        data: {
            animation: 'cancellation',
            title: 'Cancelamento de contratos'
        },
        resolve: {
            data: CancellationResolveService
        }
    }
];

```

The component is loaded by `Lazy Load`.
What I want is, when I access directly in `#/cancellation`, I want to get the `data content`, what is the best way? Any idea? Thanks a lot!