πŸ“Š Angular
Q. What is the significance of 'declarations' array in @NgModule?
  • (A) To declare components, directives, and pipes used in the module
  • (B) To register services
  • (C) To import other modules
  • (D) To define routing paths
πŸ’¬ Discuss
βœ… Correct Answer: (A) To declare components, directives, and pipes used in the module

Explanation: Only declared components/directives/pipes can be used within that module.

Explanation by: Mr. Dubey
Only declared components/directives/pipes can be used within that module.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
52
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate