Q. How can you create a custom directive in Angular?
β
Correct Answer: (A)
By using the @Directive decorator
Explanation: Custom directives are defined with the @Directive decorator.