A

Admin • 828.70K Points
Coach

Q. How do you lazy load a module in Angular routing?

  • (A) Using loadChildren property with dynamic import syntax
  • (B) Using eager loading in app.module.ts
  • (C) Using ngIf directive
  • (D) Using HttpClientModule
  • Correct Answer - Option(A)
  • Views: 15
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
Lazy loading splits modules and loads them only when needed.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.