Q. How is a custom directive defined in Angular?
β
Correct Answer: (A)
Using @Directive decorator
Explanation: @Directive is used to create custom structural or attribute directives in Angular.