Angular - custom *ngIf directive
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...
Sep 14, 20235 min read16