this is the way the function parameter helps testing a little bit --- since $httpBackend.flush() needs to $digest a lot anyways, this is useful because it tells us when the "actual" digest happens