Question: Explain Angular directives.Answer: Directives in Angular are markers on DOM elements that tell Angular to attach behavior to a DOM element or transform the DOM element and its children. Examples include ngIf, ngFor, and ngStyle.Example:
|
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users: