Clear a views own history

Hi there,

The $ionicHistory service has a clearHistory() method, which clears the history for the whole app except for the current view. But is there a way of clearing that views own history? Right now I’ve resorted to clearing history on every $ionicView.enter, but this seems wrong.

My use case is as such: I have an app with tabs. Some of these tabs can have different states, which represent different steps within that journey. When I move to another tab and back again, I am at the last state within that tab - instead I would like to have a way of ‘resetting’ that journey and be back at the initial state.

I’ve seen similar posts here but they don’t seem to solve my problem. Maybe there is a better usage pattern for states, but I also do not know it. Any help would be appreciated.