I've got an app where I need to manipulate $ionicHistory
so that hitting back goes back 2 panes.
my controller definition looks like this:
.controller("FeedController", ['$scope', '$stateParams', '$ionicLoading', '$http', '$ionicHistory', '$state',
function($scope, $stateParams, $ionicLoading, $http, $ionicHistory, $state) {
...
}
but when i'm in my controller, $ionicHistory
is undefined. what could be causing this?