Removed much of the dependence on sever-side URLs from the angular application. Not at all perfect, but fractionally better