In my scenario, the value for a watched variable can be set in the current stack or loaded asynchronously (it is encapsulated code). Because of this, I cannot guarantee that the value was changed when the watch handler is called.
Although I have reviewed and understood this API description, I am still unsure how to resolve the issue in my code.
PS: I attempted to call $scope.$digest()
, but it was already in progress with $apply.