dist/angular-restmod-bundle.js
function applyRules(_string, _ruleSet, _skip) {

      if(_skip.indexOf(_string.toLowerCase()) === -1) {
        var i = 0, rule;
        while(rule = _ruleSet[i++]) {
          if(_string.match(rule[0])) {
            return _string.replace(rule[0], rule[1]);
          }
        }
      }

      return _string;
    }
function applyRules(_string, _ruleSet, _skip) {

      if(_skip.indexOf(_string.toLowerCase()) === -1) {
        var i = 0, rule;
        while(rule = _ruleSet[i++]) {
          if(_string.match(rule[0])) {
            return _string.replace(rule[0], rule[1]);
          }
        }
      }

      return _string;
    }
function applyRules ( _string , _ruleSet , _skip ) { if ( _skip . indexOf ( _string . toLowerCase ( ) ) === - 1 ) { var i = 0 , rule ; while ( rule = _ruleSet [ i ++ ] ) { if ( _string . match ( rule [ 0 ] ) ) { return _string . replace ( rule [ 0 ] , rule [ 1 ] ) ; } } } return _string ; }
helper function used by singularize and pluralize
helper function used by singularize and pluralize