title: Angular $http.get call to web api
body: <p>I have two web applications running.  App1 is an angular SPA and App2 is an MVC web api written in c#. I am executing both applications from Visual Studio 2015, running debug in IIS Express. </p>
  
  <p>My angular code (App1) is trying to call an api controller in App2 using the following (debug) code:</p>
  
  <pre><code>$http.get('https://localhost:12345/api/values').then(function (response) {
              alert(response.data);
          }, function (err) { 
              alert(err);
          }).catch(function (e) {
              console.log("error", e);
              throw e;
          }) .finally(function () {
              console.log("This finally block");
          });
  </code></pre>
  
  <p>I always hit the "alert(err);" line - it never successfully executes and err has nothing useful in it to indicate what the problem could be.  </p>
  
  <p>In Postman (addin for Chrome), I can confirm the call I'm trying to make to App2 works fine.  What am I doing wrong?  Could this be an issue with CORS?</p>
  
  <p>Thanks in advance!</p>