NgModel and Directives - Problem with ngModel.valueAccessor.writeValue

I build an directive for number format, I test in Chrome and Safari and works fine, but testing on device (Android 6.0 and iOS 9.3) I have some problems…

On device, the method model.valueAccessor.writeValue() appear doesn’t work,

This is a part of this implementation: https://gist.github.com/horochovec/8d998c31c54a30b7692d7e597d20785e