title: Angular JS table with ng-repeat and radio buttons
body: <p>I am trying to make a table using ng-repeat that has a radio button selector at the start of each row. The table looks like this:</p>
  
  <pre><code>&lt;table&gt;
       &lt;tbody&gt;  
           &lt;tr ng-repeat="model in modelList"&gt;
                &lt;td&gt;
                   &lt;input type="radio" ng-model="model.select"&gt;&lt;/input&gt;
                &lt;/td&gt;
               &lt;td&gt;{{ model.NDPName }}&lt;/td&gt;
               &lt;td&gt;{{ model.OEM }}&lt;/td&gt;
               &lt;td&gt;{{ model.version }}&lt;/td&gt;
               &lt;td&gt;{{ model.dateAdded }}&lt;/td&gt;
               &lt;td&gt;{{ model.validUntil }}&lt;/td&gt;
           &lt;/tr&gt;
       &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>The ng-repeat is taking from a modelList that looks like:</p>
  
  <pre><code>    $scope.modelList =
      [
          {
              select: false,
              NDPName: "NDP1",
              OEM: "CHOAM Inc.",
              version: "01",
              dateAdded: "Jan 1, 2013",
              validUntil: "Jan 1, 2014",
          },
          {
              select: false,
              NDPName: "NDP2",
              OEM: "Tyrell Corp.",
              version: "01",
              dateAdded: "Jan 1, 2014",
              validUntil: "Jan 1, 2015",
          },
          {
              select: false,
              NDPName: "NDP3",
              OEM: "Stark Industries",
              version: "01",
              dateAdded: "Jan 1, 2015",
              validUntil: "Jan 1, 2016",
          },
          {
              select: false,
              NDPName: "NDP4",
              OEM: "Monsters Inc.",
              version: "01",
              dateAdded: "Jan 1, 2016",
              validUntil: "Jan 1, 2017",
          },
          {
              select: false,
              NDPName: "NDP5",
              OEM: "ACME Corp",
              version: "01",
              dateAdded: "Jan 1, 2017",
              validUntil: "Jan 1, 2018",
          }
      ];
  </code></pre>
  
  <p>The problem I am running into is that the radio buttons are not behaving like radio buttons. They are each in a separate scope and will therefore allow multiple rows in the table to be selected. How can I fix this?</p>