how to change the cors in the header of api call in angular code example Example: angular cors issue header('Access-Control-Allow-Origin: *');