app/package/js/angular-http-loader.js
function (url) {
          if (url.substring(0, 2) !== '//' &&
            url.indexOf('://') === -1 &&
            whitelistLocalRequests) {
            return true;
          }

          for (var i = domains.length; i--;) {
            if (url.indexOf(domains[i]) !== -1) {
              return true;
            }
          }

          return false;
        }
function (url) {
          if (url.substring(0, 2) !== '//' &&
            url.indexOf('://') === -1 &&
            whitelistLocalRequests) {
            return true;
          }

          for (var i = domains.length; i--;) {
            if (url.indexOf(domains[i]) !== -1) {
              return true;
            }
          }

          return false;
        }
function ( url ) { if ( url . substring ( 0 , 2 ) !== '//' && url . indexOf ( '://' ) === - 1 && whitelistLocalRequests ) { return true ; } for ( var i = domains . length ; i -- ; ) { if ( url . indexOf ( domains [ i ] ) !== - 1 ) { return true ; } } return false ; }
Check if the url domain is on the whitelist

@param {string} url

@returns {boolean}
Check if the url domain is on the whitelist