Guileasblog.etheve.eu·Jun 6, 2024Angular - Custom Structural DirectivesI've sometimes asked myself what are *ngIf and *ngFor in Angular but never dig into it before until I faced a case where none of the knowledge I had about Angular concept at that time (services, validators, guards, interceptors, directives) would giv...What I've learned todayAngular concept
Bartosz Szłapakblog.procode.pl·Sep 14, 2023Angular - custom *ngIf directiveIn 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...Angular