Whenever the variable $ modelValue changes, all $ formatters are called. So after calling the read () function, set $ modelValue to run $ formatters to run:
read(); // initialize ngModel.$modelValue = ''; // causes $formatters to run
See also this google group post .
Mark rajcok
source share