Master branch of this repo is now :angular 4" compatible. Thanks to @Cyberdada. For Angular2, I have created separate branch "Angular 2". NPM package starting from version 2.o is for angular 4. Packages 1.x is for Angulat 2.
NOTE: NPM package 1.02 is also angular 4 and was published by mistake. so ignore.
To do authentication against Microsoft Windows Azure AD, using the Microsoft ADAL library underneath. Note this library is extracted from the adal-angular package.
This also provide AuthHttp class, which actually gets token in background for external webapis.
NPM Package: https://www.npmjs.com/package/ng2-adal
Example and guideline: https://github.com/ranveeraggarwal/ng2-adal-QuickStart
Pop-Up example : https://github.com/mazhisai/ng2-adal-QuickStart