I did not find an elegant solution. At this point, I decided to pass the flag to the URL, parse it, and disable this special $ timeout, depending on this flag. This solution does not look very good, but it works. Hopefully later angular will have some kind of e2e dsl commands for this kind of thing.
source share