A

Admin • 828.03K Points
Coach

Q. Which Angular decorator is used to define a directive?

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

Explanation by: Admin
The @Directive decorator marks a class as a directive.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.