title: Ionic - Cross-Origin Request Blocked Issue
body: <p>I have setup the Ionic development environment using Yeoman generator (<a href="https://github.com/diegonetto/generator-ionic" rel="nofollow noreferrer">https://github.com/diegonetto/generator-ionic</a>). Everything is works well.</p>
  
  <p>The problem is on Sever side request, I am getting the Cross-Origin Request Blocked error. </p>
  
  <p>I add below link in .htaccess file and AngularJS app.js, still getting same error</p>
  
  <pre><code>Header set Access-Control-Allow-Origin "*"
  Header set Access-Control-Allow-Headers: Authorization
  </code></pre>
  
  <p>AngularJS Provider</p>
  
  <pre><code>$httpProvider.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=utf-8';
  $httpProvider.defaults.withCredentials = true;
  </code></pre>
  
  <p>Error Message I am getting is</p>
  
  <pre><code>Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at 
  http://192.168.1.18/tracker/user/login. 
  This can be fixed by moving the resource to the same domain or enabling CORS.
  </code></pre>
  
  <p>Screen of Request &amp; Response Header</p>
  
  <p><img src="https://i.stack.imgur.com/ixl3f.jpg" alt="Screen of Request &amp; Response Header"></p>
  
  <p>Please guide me any configuration need to be changed for enabling CORS. Our server side framework is Zend 1.x</p>