Waiter quits waiting if the page is reloaded and no longer uses angular

- fixes a timeout waiting for angular on transition between pages using angular and pages that do not