I have a select:
<select ng-model="p.value" ng-options="q for q in p.value">
<option value="">Select an animation</option>
</select>
Where p.value is ['AAAAA', 'BBBBB', 'CCCCC'] but when I select an option the select updates and shows a new bunch of options like:
<option>A</option>
<option>A</option>
<option>A</option>
<option>A</option>
<option>A</option>
I've obviously structured things wrong by using the same value in model and options. What is the correct way to do things?