title: How get checked value from radio button angular
body: <p>I need to get value from radio button in angular. Suppose to have this html code:</p>
  
  <pre><code> &lt;label class="radio-inline"&gt;
     &lt;input class="form-check-input" type="radio" [(ngModel)]="dog" name="gob" value="i" [checked]="true" (change)="onItemChange(item)"/&gt;Dog
   &lt;/label&gt;
   &lt;label class="radio-inline"&gt; 
     &lt;input class="form-check-input" type="radio" [(ngModel)]="cat" name="cat" value="p"  (change)="onItemChange(item)"/&gt;Cat
   &lt;/label&gt;
  </code></pre>
  
  <p>In my ts page I need to get the value of radio button
  like </p>
  
  <pre><code>dog.value
  </code></pre>
  
  <p>My purpose is:</p>
  
  <ol>
  <li>Set default cheched to first radio button</li>
  <li>Get the value when I click on radio button</li>
  </ol>
  
  <p>Anyone can help me?</p>