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
πŸ’¬ Discuss
βœ… Correct Answer: (A) Using loadChildren in the routing configuration
Explanation: loadChildren enables lazy loading of modules in Angular routing.
Explanation by: Mr. Dubey
loadChildren enables lazy loading of modules in Angular routing.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
68
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate