There are so many questions in SO similar to this, but none have fixed my issue.
I\'ve have an angularjs website hosted at http://localhost:49595
and I\
I had issues getting it to work with the the values in the config so I removed them from there and I added the following to my WebApiConfig class:
//Specify values as appropriate (origins,headers,methods)
var cors = new EnableCorsAttribute("http://myurl","*","*");
config.EnableCors(cors);
You can find the nuget package for Microsoft ASP.NET Web API 2.2 Cross-Origin
from here