<form (submit)="onSubmit()">
<input [(ngModel)]="playerName">
</form>
let playerName: string;
onSubmit() {
return this.playerName;
}
const type = (<HTMLInputElement>document.getElementById('type')).value;
#https://www.fiverr.com/tamerjarrar