angularjs Both ng-model and ng-change on input alter the $scope state - which one takes priority
... ng-change:
if (smth.paused) {
try {
throw new Error('ERROR');
} catch (error) {
$timeout(() => { // Can not and should not be done immediately
smth.paused = false;
})
}
}