diff --git a/js/ext/angular/src/directive/ionicViewState.js b/js/ext/angular/src/directive/ionicViewState.js index d789bd33249..f9f69f84ff3 100644 --- a/js/ext/angular/src/directive/ionicViewState.js +++ b/js/ext/angular/src/directive/ionicViewState.js @@ -393,7 +393,7 @@ angular.module('ionic.ui.viewState', ['ionic.service.view', 'ionic.service.gestu } link(viewScope); - var viewHistoryData = $ionicViewService._getView(viewRegisterData.viewId) || {}; + var viewHistoryData = $ionicViewService._getViewById(viewRegisterData.viewId) || {}; viewScope.$broadcast('$viewContentLoaded', viewHistoryData); if (onloadExp) viewScope.$eval(onloadExp);