This module installs $http interceptor and provides the authService. The $http interceptor does the following: the configuration object (this is the requested URL, payload and parameters) of every HTTP 401 response is buffered and everytime it happens, the event:auth-loginRequired message is broadcasted from $rootScope. The authService has only 2 methods: loginConfirmed() and loginCancelled(). You