title: Check radio button with AngularJS
body: <p>I have 2 radio buttons for gender.</p>
  
  <pre><code>&lt;input type="radio" name="answer" value="Female" ng-model="$parent.gender" /&gt;Female
  &lt;input type="radio" name="answer" value="Male" ng-model="$parent.gender" /&gt;Male
  </code></pre>
  
  <p>I want to show a pre-selected form. I have the answers in an array in controller like this:</p>
  
  <pre><code>$scope.answers={gender:"Female"};
  </code></pre>
  
  <p>For this example, how can I set Female radio button based on answers object? Thanks in advance</p>