tigbro/jquery-mobile-angular-adapter — pull request #190 by MarkMYoung (2013-05-10 18:50:36+00:00)
Title: Added if-statement around possible undefined value.

On initial load, $history.activeIndex might be -1. If it is, currentHistoryEntry will be undefined.