Q. What is the difference between a structural directive and an attribute directive in Angular?
β
Correct Answer: (A)
Structural directives change the DOM layout, attribute directives change appearance or behavior
Explanation: Structural directives add or remove elements; attribute directives modify existing elements.