In a previous example I showed how to secure an HTML5 application with Azure AD using JavaScript as the target programming language. However, the imminent release of AngularJS 2 also means that TypeScript is going to become more mainstream IMO. So if you have not tried TypeScript yet or are