AngularJS baik NG-model dan NG-change pada input mengubah status $ scope-yang seseorang dianggap prioritas
... ng-change:
if (smth.paused) {
try {
throw new Error('ERROR');
} catch (error) {
$timeout(() => { // Can not and should not be done immediately
smth.paused = false;
})
}
}
SAMER SAEID