When using Lazy Loading, which property in the Angular routing configuration is used to point to the lazily loaded module?
- importModule
- lazyModule
- loadChildren
- loadModule
When implementing Lazy Loading in Angular, the loadChildren property in the routing configuration is used to specify the path to the lazily loaded module. This allows Angular to load the module on-demand when the associated route is visited, improving initial page load times.
Loading...
Related Quiz
- The @Output() decorator is used to emit custom ________ from a component.
- What's the primary difference between the switchMap and mergeMap operators?
- A component in your application processes and displays data from a third-party service. The data updates very infrequently. To optimize change detection for this component, what would you recommend?
- In a scenario where you want to combine multiple Observables and wait for them all to complete, which operator would you use?
- Which directive is used in template-driven forms to track the state and validity of form controls?