I have a table with a set of rows, using an ng-repeat:
<tr ng-repeat="model in modelList" ng-class="{hilite : model.select}">
each row with a radio button like so:
<input type="radio" name="modelGroup" ng-model="model.select">
The radio buttons work, but I am trying to set the class of the row to highlight the background of the row with the clicked radio button.
Plunkr here:http://plnkr.co/edit/WSgC4Y4FmlzOr7Bfmlpp?p=preview
I've done this several times this way with checkboxes so I can't figure out what is wrong with the radio buttons. Being in a repeater, I though every row had its own scope, so the state of the model would affect the TR, no?