javascript - AngularJs Intranet Windows Authentication -
i'm working on angular app intranet application. hosted angular , webapi in iis separate application. need validate current windows logged-in user against active-directory group. when user loads angular page, should automatically send in logged-in userid. tried $windows service, not have user information.
any approach use here.