Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Problems injecting $ionicHistory

$
0
0

@Ken420 wrote:

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?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



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