|
|
|
|
|
by dmak
4036 days ago
|
|
It's the same thing as using $timeout; It runs a digest at the end after a setTimeout. I wouldn't call it a good practice, but it wouldn't bother me either if I saw it in a codebase. You are also welcome to use things like $evalAsync. |
|
This is absolutely a leaky abstraction, and whether or not it's necessary sometimes when using Angular, it should still bother you.