Fixed injection support resolve in state factory