To achieve lazy loading in Angular, the loadChildren property uses the ________ syntax.
- Array
- Function
- Object
- String
To achieve lazy loading in Angular, you use the loadChildren property with a string that points to the module file to be loaded lazily. This string typically follows a specific syntax, where you specify the path to the module using a module import statement.
Loading...
Related Quiz
- Which Route Guard is especially useful for feature modules that are lazy-loaded?
- What method can be used to manually trigger change detection in Angular?
- How can you manually request a change detection cycle for a specific component?
- How can you access the value of a template-driven form control in the component class?
- Which state management solution is based on the concept of stores and queries?