Question: Explain the concept of Angular directives.Answer: Directives in Angular are markers on a DOM element that tell Angular to attach a specified behavior to that DOM element or its children. Directives can be structural (changing the structure of the DOM) or attribute (changing the behavior or appearance of the DOM).Example:
|
Is it helpful?
Yes
No
Most helpful rated by users: