code: function stateReactivatedSurrogatePhase1(state) {
              var surrogate = angular.extend(new SurrogateState("reactivate_phase1"), { locals: state.locals });
              surrogate.self = angular.extend({}, state.self);
              return surrogate;
            }
docs: --------------------- Surrogate State Functions ------------------------ During a transition, the .path arrays in toState and fromState are replaced.  Individual path elements (states) which aren't being "kept" are replaced with surrogate elements (states).  This section of the code has factory functions for all the different types of surrogate states.