title: AngularJS ng-repeat with multiple radio inputs
body: <p>I've got small problem with ng-repeat on persons with multiple radio inputs (yes/no). Input names should be different because of name="person.name" but it behaves like they all are the same. Somebody knows how to fix this?</p>
  
  <p><a href="http://jsfiddle.net/Chotkos/EbU8g/" rel="nofollow">http://jsfiddle.net/Chotkos/EbU8g/</a></p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;form name="myForm" ng-controller="MyCtrl"&gt;
      &lt;p&gt;Decisions&lt;/p&gt;
      &lt;ul&gt;
          &lt;li ng-repeat="person in people"&gt;
              &lt;label&gt;{{person.name}}
                  &lt;input type="radio" ng-model="person.decision" name="person.name" value="Yes" /&gt;
                  &lt;input type="radio" ng-model="person.decision" name="person.name" value="No" /&gt;
              &lt;/label&gt;
          &lt;/li&gt;
      &lt;/ul&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>function MyCtrl($scope) {
      $scope.people = [{
          name: "John"
      }, {
          name: "Paul"
      }, {
          name: "George"
      }, {
          name: "Ringo"
      }];
  }
  </code></pre>