I have an Only Angular JS Applications hosted in Heroku, it works perfectly, but now, i update the application implementing an $http request
(for consuming an API), but when i execute the app i get this:
error "(razón: falta la cabecera CORS 'Access-Control-Allow-Origin')
{English: reason: CORS header 'access-control-allow-origin'
missing}. (is in spanish)
Already tried with PHP headers like:
header('Access-Control-Allow-Origin: *');
but still the same
I will be grateful if someone could help me.