Directive
decorator
Decorator that marks a class as an Angular directive. You can define your own directives to attach custom behavior to elements in the DOM.
API
Description
Usage Notes
@Directive ({})
Jump to details
Decorator that marks a class as an Angular directive. You can define your own directives to attach custom behavior to elements in the DOM.