title: I can't make a DELETE with CORS and AngularJS
body: <p>I'm trying to make a DELETE request with AngularJS.</p>
  
  <p>I'm sending this headers from the Server:</p>
  
  <pre><code>header('Access-Control-Allow-Origin: *');
  header('Access-Control-Allow-Headers: origin, x-requested-with, content-type, accept');
  header('Access-Control-Allow-Method: GET, POST, OPTIONS, DELETE');
  </code></pre>
  
  <p>But in Chrome, when I do an </p>
  
  <pre><code>$http({method: 'DELETE', url: EmployeesURL + "remove/id/" + id}) 
  </code></pre>
  
  <p>it throws a <em>Method DELETE is not allowed by Access-Control-Allow-Methods.</em> error.</p>