*Note: we have master=\"*\" because we have multiple web.* domains that are trying to contact our API. Underneath the covers, this converts to a RegEx that you can be more specific about. See here for more information. In the index.html you use for your Angular app, include the following script before any other scripts. This script will try to make a request with the normal   XMLHttpRequest  object. If it fails, it will load the   xdomain.min.js   script and set the “slave” to the   proxy.html   page we put on our API server. And that’s it! This little library takes care of the rest in the most resourceful way. Your Angular app creates an