title: Accessing a checkbox value on click in angular 2
body: <p>I have this checkbox which i want to see if it checked through <code>ngModel</code> binding.<br>
  When i call <code>console.log(activeCheckbox);</code> i can see the <code>ngmodel</code> and its value property set to true in the console.<br>
  But when i call console.log(activeCheckbox.value); right after or seperately, the value is undefined?</p>
  
  <p>Does anybody know what is happening here ?</p>
  
  <pre><code>&lt;input #activeCheckbox="ngModel" (click)="checkIfActive(activeCheckbox)"
      [disabled]="pageStatus==4" [ngModel]="premiumContententPackage.active"    
      name="premiumContententPackageActive" id="premiumContententPackageActive" 
      type="checkbox" &gt;
  
  checkIfActive(activeCheckbox){
     console.log(activeCheckbox);
     console.log(activeCheckbox.value);
  }
  </code></pre>