In 0.2.x the resolve function is called with this pointing to the state it is transitioning to. In 1.0.0 alpha there is nothing. I don't know if this was intentional BC break because of new transition system, but I rather reported it for you to consider.