title: Authorize an angular.js app to access a Web API 2 project secured by Azure Active Directory auth
body: <p>Using the Microsoft stack (via Visual Studio 2015) I'm building a solution that has what appears to be a somewhat unique structure.</p>
  
  <p>The solution has two important projects, one is a Web API 2 project, and the other is purely a web client, an angular.js app where the only file served up by the IIS server is the index.html file. On publish, both will be hosted at different domain names because we want multiple types of clients (web, mobile, native) to be able to access the web api.</p>
  
  <p>If I want to secure my Web API project using Azure Active Directory application authentication (wow that's an awesome name), how can I authorize the angular.js web application, which is hosted at a different domain name than the web api to call to successfully call the web api?</p>
  
  <p>Right now I'm exploring adal.js on the web client and Owin on the web api and can't get calls from the front-end to be allowed through to the web api.</p>
  
  <p>Thanks!</p>