Answers for "show div if boolean is true angular"

12

ngif else

<div *ngIf="isLoggedIn; else loggedOut">
  Welcome back, friend.
</div>

<ng-template #loggedOut>
  Please friend, login.
</ng-template>
Posted by: Guest on April-01-2020

Code answers related to "show div if boolean is true angular"

Browse Popular Code Answers by Language