This is my code link
I want to save one or several objects in an array, I have two selects with the same options, the user decides whether to fill the default option or fill several,
It should be stored as follows:
likes[
{sport: 'futball', points: 1}, {sport: 'tennis', points: 1}
]
but how could I save the data in an array in the ng-model of each select?
because I want to use something like ng-model="array[$index].sport"
or .point
I do not know if it's possible