title: How to get checkbox value in angular 5 app
body: <p>I am working on Angular checkbox and need to read value either given <code>ng-true-value</code> / <code>ng-false-value</code> or boolean value not sure what I am missing from code. I am reading event but not sure which value to read??</p>
  
  <h2> template</h2>
  
  <pre><code>&lt;div&gt;
  
   &lt;input 
      type="checkbox" 
      name="questionAnswerState" 
      ng-model="check"
      ng-true-value = "answerProvided"
      ng-false-value="questionAnswerNotProvided" 
      (change)="isAnswerProvided($event, check)"
      /&gt; Answer Provided?
  </code></pre>
  
  <p></p>
  
  <h2>component</h2>
  
  <pre><code> isAnswerProvided(event: any, check:any)
    {
      console.log("question answer not provided responseId:: ",this.responseId, " questionId::",this.questionId, "  check::", check );
      console.log(event);
    }
  </code></pre>