Doing what this file does is simpler in Angular, so prefer to re-use the code we already have in `qwait.js`