Angular - RoutingWhich Angular router property is used to specify a lazy loaded module in route configuration?AcomponentBloadChildrenCpathMatchDredirectToCheck Answer
Step-by-Step SolutionSolution:Step 1: Recall Angular route propertiesRoutes use properties like path, component, loadChildren, etc.Step 2: Identify property for lazy loadingloadChildren is the property that tells Angular to load a module lazily.Final Answer:loadChildren -> Option BQuick Check:Lazy load property = B [OK]Quick Trick: Use loadChildren to lazy load modules in routes [OK]Common Mistakes:MISTAKESUsing component instead of loadChildren for lazy loadingConfusing pathMatch or redirectTo with lazy loadingOmitting loadChildren property
Master "Routing" in Angular9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallPerf
More Angular Quizzes Angular Change Detection - Performance impact of change detection - Quiz 7medium Angular Change Detection - Triggering detection manually - Quiz 5medium HTTP Client - Setting headers and params - Quiz 6medium HTTP Client - HttpClientModule setup - Quiz 2easy Routing - Router outlet for view rendering - Quiz 13medium RxJS and Observables Fundamentals - Unsubscribing and memory leaks - Quiz 9hard RxJS and Observables Fundamentals - Why observables matter in Angular - Quiz 1easy RxJS and Observables Fundamentals - Async pipe for template subscriptions - Quiz 1easy Services and Dependency Injection - Why services are needed - Quiz 11easy Services and Dependency Injection - Service scope (root, module, component) - Quiz 2easy