Fix for Angular 1.3 http interceptor api change

Angular 1.3 deprecated the old $http interceptor API - this change fixes the server sent notifications - New API is described here: https://docs.angularjs.org/api/ng/service/$http#interceptors