If you are running on Azure Websites, there is an CORS setting under API when you configure your site. This worked for me.