code: function (config) {
              if (isUrlOnWhitelist(config.url)) {
                numLoadings++;
                $rootScope.$emit('loaderShow', config.method);
              }
  
              return config || $q.when(config);
            }
docs: Broadcast the loader show event
  
  @param {object} config
  
  @returns {object|Promise}