title: angular.js $http.post not working in phone
body: <p>I have a big problém,
  I made a small application ionic , angularjs that works without error,
  when I add <code>$http.get()</code> call to receive a JSON file
    the browser displays the error:</p>
  
  <pre><code>XMLHttpRequest cannot load ..... No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8100' is therefore not allowed access.
  </code></pre>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>         $http.get("http://elite-schedule.net/api/leaguedata")
                      .success(function(data) {
   
                              deferred.resolve(data);
                      
  
                      })  .error(function() {
                          console.log("Error while making HTTP call.");
                                                   deferred.reject();
  
                       });</code></pre>
  </div>
  </div>
  </p>
  
  <p>I add the extension <code>Allow-Control-Allow-Origin: *</code>
  and the application returns  run
  but my problem in my phone (android) it does not display anything
  I think we should allow this appeal $http.get</p>
  
  <p>please, who knows display console.log () in the phone , to know the source of the error or who has already this error</p>
  
  <p>thank you a lot</p>