title: CORS Origin Request Blocked in android application
body: <p>We have developed android application in IONIC with anguler js.</p>
  
  <p>We are testing through browser but in is giving error in console.</p>
  
  <p>cross Origin request blocked: the same origin policy disallows reading the remote 
  resource at <a href="http://example/abc/service.php" rel="nofollow noreferrer">http://example/abc/service.php</a> (Reason: CORS Request did not succeed)</p>
  
  <p>cross Origin request blocked: the same origin policy disallows reading the remote 
  resource at <a href="http://example/abc/service.php" rel="nofollow noreferrer">http://example/abc/service.php</a> (Reason: Multiple CORS request did not succeed)</p>
  
  <pre><code>&lt;?php
     header('Access-Control-Allow-Origin: *'); 
  header('Access-Control-Allow-Headers: Content-Type');
  
  error_reporting(E_ALL);
  
  
  
   ?&gt;
  </code></pre>
  
  <p>Tried with Access-Control-Allow-Origin:null and Access-Control-Allow-Origin: example.com </p>
  
  <p>Still not working </p>
  
  <p>We are using anguler js in android application development with <strong>IONIC Framework</strong></p>
  
  <p>Help! If you know !</p>