docs: function (entering, params, onEnter, updateParams) {
            var inactivatedState = getInactivatedState(entering);
            if (inactivatedState && (updateParams || !getInactivatedState(entering, params))) {
              var savedLocals = entering.locals;
              this.stateExiting(inactivatedState);
              entering.locals = savedLocals;
            }
            entering.self.status = 'entered';
  
            if (onEnter)
              $injector.invoke(onEnter, entering.self, entering.locals.globals);
          }