Created
May 14, 2020 21:15
-
-
Save manoj-choudhari-git/aaac6fde7c854f508bb4ceb42fda4bba to your computer and use it in GitHub Desktop.
app component view for azure ad b2c protected angular app
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
<body> | |
<button *ngIf="!loggedIn" (click)="login()">Login</button> | |
<button color="warn" *ngIf="loggedIn" (click)="logout()">Logout</button> | |
<app-nav-menu></app-nav-menu> | |
<div class="container"> | |
<router-outlet></router-outlet> | |
</div> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment