As of angular2.beta8 this simple trick will do
<input type="checkbox" [(ngModel)]="object.selected" />
From Angular 4, must add the name attribute for this to bind.
<input type="checkbox" [(ngModel)]="object.selected" name="element_name"/>
As of angular2.beta8 this simple trick will do
<input type="checkbox" [(ngModel)]="object.selected" />
From Angular 4, must add the name attribute for this to bind.
<input type="checkbox" [(ngModel)]="object.selected" name="element_name"/>