<table>
  <tr *ngFor="let book of allBooks">
    <td>{{book.name}}</td>
    <td>{{book.likes}}
      <input type="checkbox" (change)="change(book)" [(ngModel)]="book.toLike">
    </td>
    <td>
      <input type="radio" name="r1" [(ngModel)]="radioValue" value="{{book.name}}">
    </td>
  </tr>
</table>

<select multiple [(ngModel)]="users">
  <option>Pera</option>
  <option>Zika</option>
  <option>Mika</option>
</select>

<input type="checkbox" [(ngModel)]="boolCheck">
<div *ngIf="boolCheck">
  Yes
</div>
<div *ngIf="!boolCheck">
  No
</div>

<button (click)="likeAll()">Like all</button>

