Hey i'm trying to display a list of radio buttons inside an ng-repeat and it doesn't seem to be taking in the initial values of the fields i bind to ng-model on the input.
When i give a simple array to an ng-repeat, the buttons are displayed with the initial values properly. But if a nested ng-repeat comes into the picture, only the last item of each list initializes with a value
Here's my pen:
https://codepen.io/alokraop/pen/JXLZBp
I have no idea where i'm going wrong. I'm making sure that the name
attribute of the radio button is unique to each group.
Appreciate the help.