Hi All,

I have a directive that has the ngModel and another important value on it's 
scope.

When the functions on the ngModelCtrl.$formatters are called, this other 
important value on the scope is not yet available/defined so calculations 
are wrong.

To get around this, I have played with the *$setViewValue* method and also 
set the desired value directive on the *ngModelCtrl.$viewValue *inside a 
watch statement on the important value - neither of these appear to work.

Is there any way to poke the directive internally such that 
the ngModelCtrl.$formatters are called ?

Patrick.


-- 
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.

Reply via email to