A

Admin • 833.24K Points
Coach

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
  • Correct Answer - Option(A)
  • Views: 29
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.