A

Admin • 802.91K Points
Coach

Q. What is the Angular decorator used to create a component?

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

Explanation by: Admin
@Component decorator is used to define an Angular component.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.