Structural directive

The main function of the structural directive is to shape and re-shape the HTML layout, and DOM’s structure. The modification and customization of HTML layout are done by adding, removing and manipulating the selected HTML elements.

Attribute directives

The attribute directive has its own layout view and styles because it has a single component on a host element but it supports multiple directives.

Suggest An Answer