---
title: "#angular-directive articles | Hashnode"
description: "Explore 10 articles tagged #angular-directive on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/angular-directive"
---

Tag

# #angular-directive

10 posts · 1 followers

[Tushar Patil](https://hashnode.com/@TechTush) · [Jul 27, 2025](https://hashnode.com/posts/mastering-angular-directives-your-complete-guide-to-custom-and-structural-directives/688641b33f80f3acfefe7857)

### [Mastering Angular Directives: Your Complete Guide to Custom and Structural Directives](https://blog.techtush.in/mastering-angular-directives-your-complete-guide-to-custom-and-structural-directives?utm_source=hashnode&utm_medium=feed)

If you're venturing into the world of Angular, understanding directives is crucial. They serve as the building blocks for powerful, dynamic web applications that are both efficient and maintainable. This post will take you through the essential conce...

3 min read · [blog.techtush.in](https://blog.techtush.in/mastering-angular-directives-your-complete-guide-to-custom-and-structural-directives?utm_source=hashnode&utm_medium=feed)

[Claire Cheng](https://hashnode.com/@ClaireCheng) · [May 29, 2025](https://hashnode.com/posts/from-runtime-to-compile-time-how-angulars-new-control-flow-actually-works/683806fab490377a4bb7f133)

### [From Runtime to Compile Time: How Angular's New Control Flow Actually Works](https://claire-cheng.hashnode.dev/from-runtime-to-compile-time-how-angulars-new-control-flow-actually-works?utm_source=hashnode&utm_medium=feed)

A deep dive into why @if and @for replaced structural directives in Angular 17+

8 min read · [claire-cheng.hashnode.dev](https://claire-cheng.hashnode.dev/from-runtime-to-compile-time-how-angulars-new-control-flow-actually-works?utm_source=hashnode&utm_medium=feed)

[Cañete,Brandon L.](https://hashnode.com/@Brandz23) · [Sep 27, 2024](https://hashnode.com/posts/angular-directives/66f650683f49fa5aaeb94ae5)

### [Angular Directives](https://git-fundamentals-documentation.hashnode.dev/angular-directives?utm_source=hashnode&utm_medium=feed)

In this article we will tackle what Angular Directives, their types, use cases and examples. What is Angular Directives? Directives are classes that add additional behavior to elements in your Angular Applications. Built-in Angular Directives is us...

5 min read · [git-fundamentals-documentation.hashnode.dev](https://git-fundamentals-documentation.hashnode.dev/angular-directives?utm_source=hashnode&utm_medium=feed)

[Thirdy Gayares](https://hashnode.com/@thirdygayares) · [Jun 3, 2024](https://hashnode.com/posts/understanding-angular-components-routing-and-directives-explained/66e687364b2be05a9a8f72be)

### [Understanding Angular: Components, Routing, and Directives Explained](https://software-engineer.thirdygayares.com/understanding-angular-components-routing-and-directives-explained?utm_source=hashnode&utm_medium=feed)

Understanding Angular Core Concepts

1 min read · [software-engineer.thirdygayares.com](https://software-engineer.thirdygayares.com/understanding-angular-components-routing-and-directives-explained?utm_source=hashnode&utm_medium=feed)

[Gagan BN](https://hashnode.com/@GaganBN) · [Mar 19, 2024](https://hashnode.com/posts/angulars-directive/65f8f7b05b3a223f2bc6be15)

### [Angular's Directive](https://gagan-bn.hashnode.dev/angulars-directive?utm_source=hashnode&utm_medium=feed)

Understanding Angular Directives In Angular, directives are essential tools for adding extra functionality to elements. They are implemented using the @Directive decorator. For instance, Angular provides built-in directives like ngIf for conditionall...

2 min read · [gagan-bn.hashnode.dev](https://gagan-bn.hashnode.dev/angulars-directive?utm_source=hashnode&utm_medium=feed)

[Arpita Priyadarshini Sahoo](https://hashnode.com/@arpita696) · [Mar 17, 2024](https://hashnode.com/posts/show-truncated-tooltip-in-angular/65f66ce1d1b8c05724e2c866)

### [Show Truncated tooltip in <@angular/>](https://sahoo.hashnode.dev/show-truncated-tooltip-in-angular?utm_source=hashnode&utm_medium=feed)

In UI development we come across such things like not to show tooltip/title when the text is completely showing. We can solve this problem by assigning classes to each text content and that would be so much hectic. In angular we use Directive for sol...

2 min read · [sahoo.hashnode.dev](https://sahoo.hashnode.dev/show-truncated-tooltip-in-angular?utm_source=hashnode&utm_medium=feed)

[Aditi N](https://hashnode.com/@FrozenBrain) · [Feb 11, 2024](https://hashnode.com/posts/angular-directives-a-comprehensive-guide-from-fundamentals-to-advanced/676ab42ae57cc5b9d4ef53b0)

### [Angular Directives: A Comprehensive Guide from Fundamentals to Advanced](https://angular12.hashnode.dev/angular-directives-a-comprehensive-guide-from-fundamentals-to-advanced?utm_source=hashnode&utm_medium=feed)

Explore structural, attribute, and custom directives, and enhance your Angular applications with dynamic behavior and UI manipulation.

5 min read · [angular12.hashnode.dev](https://angular12.hashnode.dev/angular-directives-a-comprehensive-guide-from-fundamentals-to-advanced?utm_source=hashnode&utm_medium=feed)

[brian treese](https://hashnode.com/@mrbriantreese) · [Sep 1, 2023](https://hashnode.com/posts/4-ways-to-dynamically-add-classes-in-angular/65e0373972a4c15e903b77f4)

### [4 Ways to Dynamically Add Classes in Angular](https://briantreese.hashnode.dev/4-ways-to-dynamically-add-classes-in-angular?utm_source=hashnode&utm_medium=feed)

Learn how to programmatically add and remove classes in Angular with these four comprehensive techniques.

4 min read · [briantreese.hashnode.dev](https://briantreese.hashnode.dev/4-ways-to-dynamically-add-classes-in-angular?utm_source=hashnode&utm_medium=feed)

[Gassai Hamza](https://hashnode.com/@gassaihamza) · [Jan 17, 2023](https://hashnode.com/posts/how-i-created-a-directive-in-angular-that-renders-components-only-if-user-is-authorized/63c6c1357feb3ddc54cbf049)

### [How I created a directive in Angular that renders components only if user is authorized?](https://potatoesblog.tech/how-i-created-a-directive-in-angular-that-renders-components-only-if-user-is-authorized?utm_source=hashnode&utm_medium=feed)

Recently, I was working on an Angular project where certain components were public meaning that everyone should see them and others should be rendered only if the user is authenticated or have a specific role, so I was doing something like this: <!--...

3 min read · [potatoesblog.tech](https://potatoesblog.tech/how-i-created-a-directive-in-angular-that-renders-components-only-if-user-is-authorized?utm_source=hashnode&utm_medium=feed)
