I have angularjs application hosted within asp.net application which has web.config file. I am using ADFS for authentication and custom authorization implemented in this app