-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Conversation
Since angular@19b6b34 $timeout no longer causes a digest - because of this the examples in this page no longer work. I've updated them using the suggested workaround.
Can you post some code? It should only skip apply if you pass a defined falsy value as the |
I mean, post some code specifically about what you're doing with $timeout to get the behaviour you're talking about |
I was in the process of making a PR when finding the change and posting this. I'll make a self contained example when I get home in a few hours
|
The thing is, you can see the code right there: if If invokeApply is some other falsy value, then we don't call There is no reason this shouldn't work for you, so I would be interested in seeing the specific code you're actually using to cause problems |
If $q is not triggering a digest, the |
http://jsbin.com/lutenowidoyi/1/edit / http://jsbin.com/tesaqovopaza/1/edit can't reproduce at all |
Sorry, this is my bad. I expected digest scheduling to be more well behaved with promise assimilation. I'd expect
To schedule a digest once the promise created by the |
Since 19b6b34 $timeout no longer causes a digest - because of this the examples in this page no longer work. I've updated them using the suggested workaround.