code: function getStickyStateStack(state) {
          var stack = [];
          if (!state) return stack;
          do {
            if (state.sticky) stack.push(state);
            state = state.parent;
          } while (state);
          stack.reverse();
          return stack;
        }
docs: Given a state, returns all ancestor states which are sticky. Walks up the view's state's ancestry tree and locates each ancestor state which is marked as sticky. Returns an array populated with only those ancestor sticky states.