Unable to go back multiple views using $ionicHistory.goBack(-2)

I’m using $ionicHistory.goBack(-2) to go back multiple views, however it is only going back 1 view.
I’m not sure if I’m doing anything wrong, which is preventing it from working as documented:


I’m not sure if its worth noting, but my app is using tabs.

I also noticed there was a $rootScope.$ionicGoBack() function too, however the outcome was the same.

Any help would be greatly appreciated.


Not sure if an update resolved this.

I was using 1.3.3 before, but updated it to 1.5.