java-tutorials/spring-security-modules/spring-security-web-angular/client/angular2/app/home/home.component.html

4 lines
116 B
HTML
Raw Normal View History

<div>
<h1>Hi {{userName}}!</h1>
<p><a [routerLink]="['/login']" (click) ="logout()">Logout</a></p>
</div>