I'm doing a transition to the same state (different params) and I intend to NOT keep this transition in history, so I did
$state.go("state.name", {param: param}, {location: 'replace'});
But when I go back it still goes through all the previous states.