A

Admin • 828.70K Points
Coach

Q. How do you create a custom pipe in Angular?

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

Explanation by: Admin
Custom pipes are created with the @Pipe decorator and implement PipeTransform.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.