Example of a AngularJS and WebApi Project which use jwt authentication.
Make sure you installed Visual Studio 2013 with the Web Development Tools and the latest updates. Also The Web Essential Tools should be installed with the latest TypeScript Version.
Press F5 to start the Web Project and navigate to http://localhost:5118/Default/Index/ to start the SWA. Then switch to Visual Studio and right click on the WebApi Project and select Debug àStart new Instance. Create some breakpoints and try to login with the user martin in the web application and step through the program to see what’s happening. ##Remarks The corresponding blog article can be found here http://get-the-solution.net/2015/08/23/add-token-authorization-to-angularjs-and-webapi/