<select ng-model="thing"
data-ng-options="thing.id as thing.name for thing in things"
ng-change="doSomething()">
</select>
I have some code like that above. When a user picks a "thing", it changes the model immediately. Instead, I would like to pop a modal and ask if the user is sure he would like the change to happen BEFORE the model changes. Is there a good way to do this. I looked into a couple stop propagation (1, 2) solutions, but I am not sure that's a good way to handle this.
In short, how do I achieve my goal here?
Edit: window.event.stopPropagation();
does NOT stop the change.