fix(ngSwitch): ensure correct iterator is passed to async function

Closes #8833