What are Directives in Angular?

Directives are attributes that allow the user to write new HTML syntax specific to their applications. They execute whenever the Angular compiler finds them in the DOM. Angular supports three types of directives.  

  1. Component Directives
  2. Structural Directives
  3. Attribute Directives 

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *