title: Angular2 - Radio button value binding
body: <p>I have a problem to bind the data from a group of radio buttons. What I want is to bind the visible value whenever I check one of the radio button. Can someone help me with this?</p>
  
  <p>Thanks a lot!</p>
  
  <pre><code>&lt;div class="col-lg-8 inputs-group"&gt;
      &lt;div class="btn-group" data-toggle="buttons"&gt;
          &lt;label class="btn btn-primary active"&gt;
              &lt;input type="radio" name="visible" [(ngModel)]="visible" autocomplete="off" value="true"&gt;Yes
          &lt;/label&gt;
          &lt;label class="btn btn-primary"&gt;
              &lt;input type="radio" name="visible" [(ngModel)]="visible" autocomplete="off" value="false"&gt;No
          &lt;/label&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>