replcated $state.transitionTo to a more flexible $state.go