modify angular requests to external server