Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

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:

This is visible
Is it helpful? Yes No

Most helpful rated by users:

©2026 WithoutBook