yearofmoo/ngMidwayTester — pull request #16 by wardbell (2014-11-15 08:11:50+00:00)
Title: Tweak $location decorator and visit(); all tests pass.

- Guard against infinite $location.path loop as explained in comment
- Give visit() one more tick before it invokes the callback; determined empirically that this is necessary on occasion else the viewElement() may return empty object