I am in need to do such thing
<select>
<option ng-sth="firstMethodToBeCalled()">Option 1</option>
<option ng-sth="secondMethodToBeCalled()">Option 2</option>
<select>
Is there any way to do this? I need this because i currently have this kind of code:
<select ng-model="someModel" ng-change="callThisFunction()">
<option value="value1">Option 1</option>
<option value="value2">Option 2</option>
...
<option value="valueN">Option N</option>
</select>
And I want to add only two more options to this Select but calling different function. I can refactor it to call same wrapper function and determine which final function shall be called with some conditional logic but I am wondering if there is a possibility to assign different. I have been looking for this for some time and didn't come across any solution.