Remove "home" button when logged in angular code example
Example: button disabled angular
<form #f="ngForm" (ngSubmit)="onSubmit(f)" novalidate>
<input required name="uri" [(ngModel)]="data">
<button [disabled]="!f.valid">Submut</button>
</form>