CORS problem with Ionic and angular 2 "No 'Access-Control-Allow-Origin' header is present on the requested resource"

If you use php on server then write header(‘Access-Control-Allow-Origin: *’); in your controller and its done