A

Admin • 833K Points
Coach

Q. Which decorator is used to make a class injectable as a service in Angular?

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

Explanation by: Admin

@Injectable decorator marks a class as available for dependency injection.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.