<button (click)="show(lastNameInput)">Show</button>
<input type="text" #firstNameInput><input type="text" #lastNameInput>
show(lastName: HTMLInputElement){ console.log(lastName.value);}