Lazy loading in Angular allows you to load feature modules on-demand using the ________ property in the route configuration.
- asyncLoad
- lazyLoad
- loadChildren
- loadModule
The blank should be filled with "loadChildren." In Angular, lazy loading is achieved by using the loadChildren property in the route configuration. This property specifies the path to the module that should be loaded lazily when the associated route is activated, improving application performance.
Loading...
Related Quiz
- Which is NOT a lifecycle hook in Angular?
- Which technique in Angular allows you to encapsulate styles and templates so that they don't affect other parts of the application?
- To enable strict mode for a new Angular application, ensuring stricter type-checking and other stricter checks, you would use the ng new command with the ______ flag.
- What method can be used to manually trigger change detection in Angular?
- How can you provide a custom Value Accessor for a form control in Angular?