Angular 2 tentang Event Bound Data Event setara
<script>
functionToTrigger(input){
console.log("name changed")
}
</script>
<input [value]="currentItem.name" (input)="functionToTrigger($event)" />
Fancy Flatworm