title: JSON_CALLBACK not found using JSONP
body: <p>I am trying to get a JSONP response working using the following code...</p>
  
  <pre><code>$http.jsonp('http://example.com:8888/?callback=JSON_CALLBACK').success( function( response )
  {
      console.dir( response );
  });
  </code></pre>
  
  <p><a href="http://example.com:8888/?callback=JSON_CALLBACK" rel="nofollow">http://example.com:8888/?callback=JSON_CALLBACK</a> returns the following via node.js</p>
  
  <blockquote>
    <p>JSON_CALLBACK({ date:'2013-05-15T08:53:51.747Z' });</p>
  </blockquote>
  
  <p>The header is being set in node.js like this....</p>
  
  <pre><code>res.writeHead(200, {'Content-Type': 'application/json'});
  </code></pre>
  
  <p>Yet the error I get in a Chrome console is this...</p>
  
  <pre><code>Uncaught ReferenceError: JSON_CALLBACK is not defined 
  </code></pre>
  
  <p>However, weirdly, If I create the function <code>window.JSON_CALLBACK(response)</code> it will run. But I thought that success is meant to do that on my behalf.</p>