ionic app cannot connect cors enabled server with $http
问题 I am trying to build a mobile app with ionic framework. When my application tries to connect server to get json ( server is web api and cors is enabled) it just returns 404 on genymotion and real device. But when I run application in browser with ionic serve everything work fine. I am pretty sure CORS is functional. Here response header I got while application working in browser. Response Access-Control-Allow-Origin:* Cache-Control:no-cache Content-Length:395 Content-Type:application/json;