code: function toSearchArgumentArray(value) {
          if (value) {
              if (angular.isArray(value))
                  return value;
              if (angular.isString(value))
                  return value.split(',');
          }
          return [];
      }
docs: Converts the given value to an array of query arguments.
  
  If the value is null an empty array is returned.
  If the value is a non empty string then the string is split by commas
  
  @method toSearchArgumentArray
  @static
  @param {*} value
  @return {String[]}