Angular

Last Updated: 8/22/2023

Introduction

  • Directives are used to modify the DOM

Structural Directives

  • Modify the structure of the DOM by adding or removing elements

Attribute Directives

  • Modify the attributes of DOM elements

Built-in Directives

  • ngFor
  • ngIf
  • ngSwitchCase
  • ngClass
  • ngStyle