title: How can I fix my jsonp callback to address the "unexpected token" error, using angularjs $http?
body: <p>The specs for receiving jsonp from google apps script are not causing an "unexpected token" in the return data.</p>
  
  <p>I'm using angularjs $http.jsonp -  it doesn't like the syntax ?prefix=? at the end of my url to the google apps script.  </p>
  
  <p>This works fine with jQuery, but I'm trying to go all angular with this app.  Here is a <a href="http://jsfiddle.net/4JRqm/" rel="nofollow">fiddle I forked from a previous user</a>.  Here is the request, which is fine:</p>
  
  <pre><code>function jsonp_example($scope, $http) {
  $scope.doRequest = function() {
      var url = "https://script.google.com/macros/s/AKfycbyTnhcsnyXKJqZdF8yAppVQjXX935J9-YTJOHyf7jkea16gSsOA/dev?prefix=?";
  
      $http.jsonp(url);
  };
  </code></pre>
  
  <p>Have console open, please.</p>