When you want to preload data for a route, you can use the _____ property in the route configuration.
- canActivate
- data
- loadChildren
- resolve
To preload data for a route, you can use the resolve property in the route configuration. The 'resolve' property allows you to fetch data before activating the route.
Loading...
Related Quiz
- When you want an Observable to emit a sequence of values over time, you would use _____.
- What Angular service allows you to access the route parameters in the component class?
- What is the purpose of using the resolve property in Angular routing?
- In which of the following situations would you use an @Input() decorator in a component?
- How can you optimize the performance of two-way data binding for large forms in Angular?