Do angular timeout rather than setTimeout