Tutorial by Examples

You can reload the current state using the $state.reload method from your controller $state.reload() This is a shorthand for (code taken from the official docs) $state.transitionTo($state.current, $stateParams, { reload: true, inherit: false, notify: false }); Running a reload on your ...
$state.go is shorthand method to $state.transitionTo $state.go(toState [, toParams] [, options]) This method automatically sets your options to { location: true, inherit: true, relative: $state.$current, notify: true } (unless you override them) and allows you to transition with less code. Ex...
Use $state.transitionTo to go form one state to another. This is a low level method to transition and $state.go is the recommended way for most common use cases as it uses this method internally. $state.transitionTo(toState [, toParams] [, options]) toState - the state to transition to toPara...

Page 1 of 1