Workaround for $evalAsync.