A statement in a computer program that gives direction to the compiler or interpreter about the processing of the program itself.
"In Angular, directives are used to attach behavior to elements in the DOM."
— @openai · February 25, 2024