Q. What does the 'declarations' array in @NgModule do?

  • (A) Lists components, directives, and pipes that belong to the module
  • (B) Lists services provided by the module
  • (C) Specifies modules to import
  • (D) Specifies bootstrap components
πŸ’¬ Discuss
βœ… Correct Answer: (A) Lists components, directives, and pipes that belong to the module
Explanation: 'declarations' is used to declare view classes within the module.
Explanation by: Mr. Dubey
'declarations' is used to declare view classes within the module.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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