Bird
0
0

Which Angular feature allows loading a module only when its route is accessed?

easy📝 Conceptual Q2 of 15
Angular - Modules
Which Angular feature allows loading a module only when its route is accessed?
AEager loading
BLazy loading
CPreloading strategy
DAhead-of-time compilation
Step-by-Step Solution
Solution:
  1. Step 1: Identify loading types

    Eager loading loads modules immediately; lazy loading delays until route access.
  2. Step 2: Match feature to description

    Lazy loading matches the description of loading on route access.
  3. Final Answer:

    Lazy loading -> Option B
  4. Quick Check:

    Load on route access = Lazy loading [OK]
Quick Trick: Lazy loading loads modules on demand [OK]
Common Mistakes:
  • Confusing eager loading with lazy loading
  • Mixing preloading with lazy loading

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Angular Quizzes