Well, he optiondoesn’t change.
What changes will make the value of the element select.
So try the following:
<select ng-model="selectedGroup" ng-change="yourFunction()">
<option ng-repeat="group in myGroups">{{group.name}}</option>
</select>
yourFunction scope :
scope.yourFunction = function() {
console.log(scope.selectedGroup);
};
ngOptions .