How can you preload some, but not all, of the lazily-loaded modules in an Angular application?
- It's not possible
- Setting the 'preload' property
- Using canActivateChild guard
- Using the preloadStrategy
You can preload some, but not all, of the lazily-loaded modules in Angular by specifying the preloadStrategy in the route configuration.
Loading...
Related Quiz
- Karma can automatically watch your files for changes and re-run tests using the _____ configuration option.
- What is the difference between dirty and touched properties of a form control?
- When you want a component to render content into its template from outside, you use a _____.
- When using a Route Resolver, what impact does it have on the navigation process?
- To control how Angular should handle navigation extras when reusing a route, you can configure the _____ option.