Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Problems injecting $ionicHistory

$
0
0

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?


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>