Hi Trzczy, A watch does run on every digest cycle. However, you are watching an element, and that's not where this is intended for. Then you are manipulating the value of the element. That is not the way you manipulate data in angular. You really should read through the ngModel <https://docs.angularjs.org/api/ng/directive/ngModel> documentation. If you want to do something like this, you can use the ngModelController <https://docs.angularjs.org/api/ng/type/ngModel.NgModelController>to add a $formatter/$parser or whatever you see fit.
If after reading trough these you need some additional help, update your plunk, and come back to us, and one of us will surely help! Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
