Bird
0
0

Which Angular router property is used to specify a lazy loaded module in route configuration?

easy🧠 Conceptual Q2 of 15
Angular - Routing
Which Angular router property is used to specify a lazy loaded module in route configuration?
Acomponent
BloadChildren
CpathMatch
DredirectTo
Step-by-Step Solution
Solution:
  1. Step 1: Recall Angular route properties

    Routes use properties like path, component, loadChildren, etc.
  2. Step 2: Identify property for lazy loading

    loadChildren is the property that tells Angular to load a module lazily.
  3. Final Answer:

    loadChildren -> Option B
  4. Quick Check:

    Lazy load property = B [OK]
Quick Trick: Use loadChildren to lazy load modules in routes [OK]
Common Mistakes:
MISTAKES
  • Using component instead of loadChildren for lazy loading
  • Confusing pathMatch or redirectTo with lazy loading
  • Omitting loadChildren property

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Angular Quizzes