swagger can now also be used for unit tests (see appListSpec.js) with
$httpBackend. No need to write abolute URLs (that's basically the reason
to use swagger in the frontend in the first place)