Changing state without changing browser history in angular ui-router
<p>Assume that we have a logic like this:</p>

<ul>
<li>From state A, change to state B.</li>
<li>Whenever we arrive to state B, the app always redirect us to state C by calling <code>$state.go(stateC)</code></li>
<li>Now we are in state C</li>
</ul>

<p>My question is how to go back to state A from state C (given the fact that state A can be any state we don't know at run-time, meaning user can access state B from any other states)</p>