QuickDevGuide

Home › Angular

Directives — Angular

Directives are instructions that tell Angular to transform the DOM. They extend HTML with new behavior. Angular has three types: 1. Structural Directives (Change DOM Structure) These add, remove, or manipulate elements. They are prefixed with : Modern Control Flow (Angular 17+) Angular 17 introduced built-in control flow syntax replacing structural directives: 2. Attribute Directives (Change Appearance/Behavior) 3. Custom Directives

Key Takeaways