Created
March 7, 2019 22:31
-
-
Save stillatmylinux/3d30517f163fdf5cab3ca6138e79c7f4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div *ngIf="user?.role=='admin'">You are an admin</div> | |
<div *ngIf="user?.role=='member'">You are a member</div> | |
<div *ngIf="user?.role==''">Hello user</div> | |
<div *ngIf="!user">Hello stranger</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment