Fix for Angular 1.3 http interceptor api change