diff --git a/dist/js/ionic-angular.js b/dist/js/ionic-angular.js index e7eb491fdc..b43e6d6264 100644 --- a/dist/js/ionic-angular.js +++ b/dist/js/ionic-angular.js @@ -1436,7 +1436,7 @@ angular.module('ionic.ui.navRouter', ['ionic.service.gesture']) back = $scope.direction == 'back' || (!!(historyState && historyState.position <= $rootScope.stackCursorPosition)); - if(isFirst || (next && next.$$route.originalPath === "")) { + if(isFirst || (next && next.$$route && next.$$route.originalPath === "")) { // Don't animate return; }