Angular Directives Tutorial | Types of Directives in Angular (Part - 6)

Опубликовано: 04 Август 2026
на канале: Mr. Techie Bar
321
11

Directives are instructions in the DOM. They specify how to place your components and business logic in the Angular

Component Directives
These form the main class having details of how the component should be processed, instantiated and used at runtime.

Structural Directives
A structure directive basically deals with manipulating the dom elements. Structural directives have a * sign before the directive. For example, *ngIf and *ngFor

Attribute Directives
Attribute directives deal with changing the look and behavior of the dom element. You can create your own directives as shown below. ngStyle and ngClass

To understand about Custom Directive in angular
   / @mr.techiebar2399  

To understand about Routing in angular
   • Routing and Navigation in Angular | Angula...  

To understand about most common mistake in angular
   • Most Common issues/ errors in angular  

To understand about Input and Output decorators in angular
   • Component interaction | @Input() @Output()...