title: How to set checkbox value to 1 on checked and 0 on unchecked?
body: <p>I am working on angular 4 application and using reactive forms.</p>
  
  <p>I want to save checkbox value in 0/1 not in true/false. Right now when I check my checkbox I got true and on un-check I got false but I want 1 on checked and 0 on unchecked.</p>