angular js access parent state data code example Example: UI-router accessing parent state from child $state.go('^');