A

Admin • 828.03K Points
Coach

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

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

Explanation by: Admin
Custom directives are created using the @Directive decorator.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.