I want to pass the Input-Value to the function by clicking the Button.
<md-card>
<md-input-container><input mdInput ngDefaultControl [ngModel]="newInput">
</md-input-container>
<button md-raised-button (click)="newInputValue(newInput)">Update</button>
</md-card>
But the value of newInput in the function newInputValue(..) is always undefined.