Answers for "how can we write the whole if logic in html in angular 10 and assign value"

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 "how can we write the whole if logic in html in angular 10 and assign value"

Browse Popular Code Answers by Language