angular/angular.js — pull request #7014 by shahata (2014-04-06 06:24:43+00:00)
Title: fix(ngModelOptions): introduce $cancelUpdate to cancel pending updates

$cancelUpdate cancels any debounce action and resets the view value by invoking $render. this method should be invoked before programmatic update to the model of input that might have pending updates due to updateOn or debounced actions. Fixes https://github.com/angular/angular.js/issues/6994