Thursday, February 11, 2016

Angular radio button in ng-repeat

When creating radio button in ng-repeat, only the last row gets checked.
It could be because of the name.
You can use the property ng-attr-name with your data in ng-repeat.
Reference here