code: function (state) {
                  if (!state.params) {
                      return state.url ? state.url.params : state.parent.params;
                  }
                  return state.params;
              }
docs: Derive parameters for this state and ensure they're a super-set of parent's parameters