title: Call to API is not returning response in Android but working fine in Browser
body: <p>I'm building a Cordova Ionic application which fetches JSON response on button click and display it. It's working fine in browser but it's not displaying anything in android.</p>
  
  <pre><code>angular.module('starter', ['ionic'])
  
  .config(function($ionicConfigProvider) {
    $ionicConfigProvider.navBar.alignTitle('center');  //align title in center
  })
  
  .controller('ControllerOne',[ '$scope', 'freshlyPressed', Ctrl])
  
  .service('freshlyPressed', ['$http','$log', freshlyPressed]);
  
  function Ctrl($scope, freshlyPressed){
  
    $scope.refreshClicked = function(){
      freshlyPressed.getBlogs($scope);
    }
  };
  
  function freshlyPressed($http,$log){
    this.getBlogs = function($scope){
      $http.jsonp("https://public-api.wordpress.com/rest/v1.1/freshly-pressed?callback=JSON_CALLBACK")
      .success(function(result, posts){
        $scope.posts = result.posts;
      });
    };
  };
  </code></pre>
  
  <p>How would I know if any exception occurred while testing the app in android?</p>
  
  <p>[Edit] I'm new to Android &amp; Cordova.</p>