title: CORS error, when i use instagram API with angularjs
body: <p>I have simple task - get users' data from instagram account. I use standard instagram api and angularjs.</p>
  
  <p>Here is controllers' request method:</p>
  
  <pre><code> $http({
    method: 'GET',
    url: 'https://api.instagram.com/v1/users/6976008122/media/recent/?access_token=1030475459.50cd673.aa04db13898d4fsd9ff8fe5095b32f34&amp;scope=public_content&amp;count=4'
      }).then(function(res) {
        console.log(res);
      }, function(err) {
        console.log(err);
      });
  </code></pre>
  
  <p>But I always get this error message:</p>
  
  <blockquote>
    <p>Response to preflight request doesn't pass access control check: No
    'Access-Control-Allow-Origin' header is present on the requested
    resource. Origin '<a href="http://project.loc" rel="nofollow">http://project.loc</a>' is therefore not allowed access.
    The response had HTTP status code 405.</p>
  </blockquote>
  
  <p>The first few pages of Google search has not helped, please help me understand and solve this problem.</p>