AngularJS Digest Authentication Interceptor