title: Angular 2: Multiple checkbox toggle
body: <p>I have 5 checkboxes in this way</p>
  
  <pre><code>&lt;input type="checkbox" [checked]="chk1" (change)="chk1 = !chk1" /&gt;chk1 &amp;nbsp;
  &lt;input type="checkbox" [checked]="chk2" (change)="chk2 = !chk2" /&gt;chk2 &amp;nbsp;
  &lt;input type="checkbox" [checked]="chk3" (change)="chk3 = !chk3" /&gt;chk3 &amp;nbsp;
  &lt;input type="checkbox" [checked]="chk4" (change)="chk4 = !chk4" /&gt;chk4 &amp;nbsp;
  &lt;input type="checkbox" [checked]="chk5" (change)="chk5 = !chk5" /&gt;chk5 &amp;nbsp;
  </code></pre>
  
  <p>I'm trying to toggle checkboxes. Conditions are-</p>
  
  <p>If the first checkbox is selected, all the other 4 checkboxes shall be unchecked and vice versa(even if only 2nd and 3rd boxes are selected)</p>
  
  <p>3rd and 4th checkboxes must be toggle to each other.</p>
  
  <p>How do I achieve this in Angular?</p>
  
  <p><a href="https://plnkr.co/edit/6em820jFfuTuw2NtIFmr?p=preview" rel="nofollow noreferrer">Plunker link</a></p>