title: Angular 2 Checkbox value with Reactive form
body: <p>i have checkbox in angular 2 reactive form i need to pass the values of these checkbox in POST api , Right now they will pass value on status.
  below are checkbox code it only passed the status like true or false instead of value like 1,2 something like that.</p>
  
  <pre><code>&lt;input type="checkbox" formControlName="servicelatest"  [value]="CatArry[i].id" (change)="serviceCheckBox($event)"/&gt;
  </code></pre>
  
  <p>-------------------**------------------------</p>
  
  <pre><code>&lt;div *ngFor="let serviceType of laceDetailFrom.controls.serviceType.controls; let i=index" &gt;
  &lt;div  [formGroupName]="i"&gt;
  
  &lt;input type="checkbox" formControlName="servicelatest"  [value]="CatArry[i].id" (change)="services[$event.target.getAttribute('value')]=$event.target.checked"&gt;&amp;nbsp;{{CatArry[i].cat_name}}
                               &lt;/div&gt;
                             &lt;/div&gt;
  </code></pre>