set WSAPI url based on running rul
Merge branch 'master' of https://github.com/robbyronk/angular-interrupt