title: AngularJS - Error with theMovieDB's API
body: <p>So, currently i'm working on a web-app using theMovieDB's API, and it's an AngularJS application.
  I just need to get all popular films, but it doesn't seems to work ..</p>
  
  <p>Here is my code :</p>
  
  <pre><code>var url = 'http://private-anon-7ac1c3824-themoviedb.apiary-mock.com/3/',
      key = 'API_KEY'
      mode = 'movie/popular';
  $http.jsonp(url + mode + key)
  .success(function(data) {
      alert(data);
  }).error(function(data, status) {
      console.log(data, status);
  });
  </code></pre>
  
  <p>In return, all I got is an error from Chrome : Uncaught SyntaxError: Unexpected token : , and the status var equals '404'.
  However, I can see the list in the Chrome Inspector ...</p>
  
  <p>I.E. :</p>
  
  <pre><code>{
     "page" : 1,
     "results" : {
        "adult" : false,
        "id" : 82992,
        ...
  }
  </code></pre>
  
  <p>And when I'm trying tu use a normal "$http.get" request, it returns a cross-domain problem ... 
  Do you guys have an idea ? I can't see my mistake ...</p>
  
  <p><strong>EDIT :</strong> It seems to work with an other server. I changed the URL to '<a href="http://private-18cc-themoviedb.apiary.io/3/" rel="nofollow">http://private-18cc-themoviedb.apiary.io/3/</a>' and it's working now, maybe it was just an error from the API. Thank you guys !</p>