Mphasis interview question

Interceptor in Angular js