title: IONIC, Access-Control-Allow-Origin
body: <p>I try to send http request with $http (angular) with this code:</p>
  
  <pre><code>$http({
                method: 'GET',
                url: 'http://192.168.0.17:9000',
                header: {'Access-Control-Allow-Origin': "*"},
          }).then(getEventsSuccess, getEventsError);
  </code></pre>
  
  <p>But this doesn't work and I have in the web console this error:</p>
  
  <pre><code>XMLHttpRequest cannot load http://192.168.0.17:9000/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8100' is therefore not allowed access.
  </code></pre>
  
  <p>Do you have a solution ?</p>