A

Admin • 833K Points
Coach

Q. What is the difference between a structural directive and an attribute directive in Angular?

  • (A) Structural directives change the DOM layout, attribute directives change appearance or behavior
  • (B) Attribute directives change the DOM layout, structural directives change appearance
  • (C) Both are the same
  • (D) Structural directives only work with forms
  • Correct Answer - Option(A)
  • Views: 26
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

Structural directives add or remove elements; attribute directives modify existing elements.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.