app/package/js/angular-http-loader.js
function (config) {
            if (isUrlOnWhitelist(config.url)) {
              numLoadings++;
              $rootScope.$emit('loaderShow', config.method);
            }

            return config || $q.when(config);
          }
function (config) {
            if (isUrlOnWhitelist(config.url)) {
              numLoadings++;
              $rootScope.$emit('loaderShow', config.method);
            }

            return config || $q.when(config);
          }
function ( config ) { if ( isUrlOnWhitelist ( config . url ) ) { numLoadings ++ ; $rootScope . $emit ( 'loaderShow' , config . method ) ; } return config || $q . when ( config ) ; }
Broadcast the loader show event

@param {object} config

@returns {object|Promise}
Broadcast the loader show event