So I have some data coming in a string seperated by commas.
sizes: "Small,Medium,Large,X Large,XX Large"
I got a drop down that displays value based on splitting that string.
<select ng-options="choice as choice for (idx, choice) in val.sizes.split(',')" ng-change="selected.product.set.size(choice);> <option value="">Please select a size</option> </select>
ng-change: How do I pass the selected value
choiceto a function?