ng-change event is not triggered for IE11 when the element has no keydown event fired #14783
Description
Do you want to request a feature or report a bug?
bug
What is the current behavior?
ng-change is not triggered when an input is focused on the keydown event of another element
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (template: http://plnkr.co/edit/tpl:yBpEi4).
See: http://plnkr.co/edit/wMuouRnMbGWoEAZpnzLX?p=preview
Ensure the focus is on the document, press tab to focus the non-input and then press a key.
What is the expected behavior?
The input is focused, the entered key is inputted and the underlying model is updated, calling the change event bound to the input
What is the motivation / use case for changing the behavior?
Need to ensure that there is consistency across browsers
Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular?
IE11 is affected by this bug, Chrome is ok. Tested in angular 1.5.6 and latest snapshot
Other information
see line '$sniffer.hasEvent('input')' in angular.js where the alternative is provided. The keydown event is not triggered on the new input so the polyfill does not serve the purpose in this case.