In angularjs if we want to change the state, $state.go() and $state.transitionTo() these two things are referred by many people even in tutorial. But what is my doubt is some say $state.go() is good and also recommended. But two do the same process if you look external. for example $state.go('^.create') same as $state.transitionTo('create')
$stateProvider.state('create',
{
url: '/create',
template: '<div></div>',
controller: 'xyz'
})
I want to know what is the exact difference about $state.go() and $state.transitionTo();