title: Angular JS Cross Domain Issue
body: <p>I am using AngularJS $resource to get some data using JSONP.</p>
  
  <pre><code> app.controller('Hello', ['$scope', 'Phone', function($scope, Phone,$http) {
  
    $scope.data=Phone.query();
  
  }]);
  mycallback = function(data,$scope){
    alert(data.found);
  };
  
  app.factory('Phone', ['$resource',function($resource){
  return $resource('http://public-api.wordpress.com/rest/v1/sites/wtmpeachtest.wordpress.com/posts?callback=mycallback', {}, {
    query: 
      {
          method:'JSONP', 
          params:{}, 
          isArray:false,
          callback: 'JSON_CALLBACK'
  
      }
  });
  }]);
  </code></pre>
  
  <p>The error console shows "Uncaught SyntaxError: Unexpected token :". Please let me know, how best I can handle JSONP data. </p>