A

Admin • 833K Points
Coach

Q. How do you create a lazy-loaded feature module in Angular?

  • (A) Using loadChildren in the routing configuration
  • (B) Importing the module in AppModule
  • (C) Using ng generate module
  • (D) Using @Injectable decorator
  • Correct Answer - Option(A)
  • Views: 30
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

loadChildren enables lazy loading of modules in Angular routing.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.