Working example using adal-angular5. Remember to add your credentials and properly configure Azure AD reply url!
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.