CORS ошибка Angular PHP

use headers:

let HEADER: HttpHeaders = new HttpHeaders(); 
HEADER.append('Access-Control-Allow-Origin', '*');
HEADER.append('Content-Type', 'application/json');
HEADER.append('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
Nickton