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

Tag

# #ngif

4 posts · 0 followers

[Code Inception](https://hashnode.com/@codeinception) · [Jan 20, 2025](https://hashnode.com/posts/angular-structural-directives-ngif-ngfor-and-ngswitch/678e67dcbcf27318d9ef7bea)

### [Angular Structural Directives: \*ngIf, \*ngFor, and \*ngSwitch](https://code-inception.hashnode.dev/angular-structural-directives-ngif-ngfor-and-ngswitch?utm_source=hashnode&utm_medium=feed)

Learn about Angular structural directives: \`\*ngIf\`, \`\*ngFor\`, and \`\*ngSwitch\` for dynamic DOM manipulation

2 min read · [code-inception.hashnode.dev](https://code-inception.hashnode.dev/angular-structural-directives-ngif-ngfor-and-ngswitch?utm_source=hashnode&utm_medium=feed)

[Code Inception](https://hashnode.com/@codeinception) · [Jan 19, 2025](https://hashnode.com/posts/ngif-structural-directives-in-angular/678d30e492e0deaf766a6f49)

### [ngIf Structural Directives In Angular](https://code-inception.hashnode.dev/ngif-structural-directives-in-angular?utm_source=hashnode&utm_medium=feed)

Structural directives in Angular are used to change the structure of the DOM by adding, removing, or changing elements dynamically.

1 min read · [code-inception.hashnode.dev](https://code-inception.hashnode.dev/ngif-structural-directives-in-angular?utm_source=hashnode&utm_medium=feed)

[Guileas](https://hashnode.com/@Guileas) · [Jun 6, 2024](https://hashnode.com/posts/angular-custom-structural-directives/6661a6954bac9d9ff99c487a)

### [Angular - Custom Structural Directives](https://blog.etheve.eu/angular-custom-structural-directives?utm_source=hashnode&utm_medium=feed)

Angular concept AKA ngIf

3 min read · [blog.etheve.eu](https://blog.etheve.eu/angular-custom-structural-directives?utm_source=hashnode&utm_medium=feed)

[Bartosz Szłapak](https://hashnode.com/@Barcioch) · [Sep 14, 2023](https://hashnode.com/posts/angular-custom-ngif-directive/65032d81add1cdd75bd20b55)

### [Angular - custom \*ngIf directive](https://blog.procode.pl/angular-custom-ngif-directive?utm_source=hashnode&utm_medium=feed)

In this article, I'll show how to create a custom structural directive that works similarly to Angular's ngIf. The goal is to create a directive that checks if a current user has required permissions by passing them to the directive. The directive sh...

5 min read · [blog.procode.pl](https://blog.procode.pl/angular-custom-ngif-directive?utm_source=hashnode&utm_medium=feed)
