Plunk: http://plnkr.co/edit/Y4ntAj2fIIpexKjkCvlD?p=preview
In an attempt to develop a form component that allows users to create multiple instances of a specific data field, I am facing an issue where the radio buttons are not updating the selected item as expected. Each radio button is generated using 'ng-repeat', with its value set to the index from the repeat loop. The radio buttons are linked to '$scope.selectedItem' to direct the inputs to the correct item.
Strangely, despite the radio buttons changing their selected state, the 'selectedItem' variable remains unchanged. Interestingly, a similar setup with static radio buttons worked fine, suggesting a possible problem with 'ng-model' within 'ng-repeat'.