diff --git a/js/angular/service/history.js b/js/angular/service/history.js index 254b0efc5df..994d6c505df 100644 --- a/js/angular/service/history.js +++ b/js/angular/service/history.js @@ -693,7 +693,7 @@ function($rootScope, $state, $location, $window, $timeout, $ionicViewSwitcher, $ extend(nextViewOptions, opts); if (nextViewOptions.expire) { deregisterStateChangeListener = $rootScope.$on('$stateChangeSuccess', function() { - nextViewExpireTimer = $timeout(function(){ + nextViewExpireTimer = $timeout(function() { nextViewOptions = null; }, nextViewOptions.expire); });