title: JSONP injected script did not invoke callback
body: <p>I'm trying to get data from a Rest Api:</p>
  
  <p>I tried following:</p>
  
  <pre><code>var headers: Headers= new Headers({  'dataType': 'jsonp'});
      let options = new RequestOptions({ headers: headers });
  
      return this.http.get('http://aaaddds.de/redmine/issues.json?limit=1200&amp;callback=JSONP_CALLBACK', options)
        .map(this.extractData);
  </code></pre>
  
  <p>it doesn't work because of:</p>
  
  <blockquote>
  <pre><code> No 'Access-Control-Allow-Origin' header
  </code></pre>
  </blockquote>
  
  <p>So when I try JSONP</p>
  
  <pre><code>let params = new URLSearchParams();
  params.set('callback', 'JSONP_CALLBACK');
  params.set('project_id', '7');
  params.set('key', '42d3db30ab061a9f630df1f476c4d127f98d5ad2');
  params.set('limit', '1200');
  
  
  return this.jsonp.get('http://aaaddds.de/redmine/issues.json', { search: params })
    .map(this.extractData);
  </code></pre>
  
  <p>it says :</p>
  
  <blockquote>
    <p>Uncaught ReferenceError: __ng_jsonp____req0finished is not defined
    JSONP injected script did not invoke callback</p>
  </blockquote>
  
  <p>When I do a Jquery ajax get it works:</p>
  
  <pre><code>   $.ajax({
  
        url: url,
        type: 'GET',
        dataType: 'jsonp',
        success: function (datsa: any) {
          console.log(datsa);
        },
        error: function (e : any) { alert(e.toString) },
      });
  </code></pre>