A

Admin • 802.91K Points
Coach

Q. Which decorator allows adding metadata to a component class?

  • (A) @Component
  • (B) @Injectable
  • (C) @NgModule
  • (D) @Directive
  • Correct Answer - Option(A)
  • Views: 4
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
@Component decorator defines metadata such as selector, template, styles.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.