code: function (value, mode, strategy, context) {
          if (!currentStrategy) {
            showNoStrategyConfiguredWarning();
          }
  
          if (!strategy && strategy !== null) {
            strategy = currentStrategy;
          }
  
          if (!strategy) {
            return value;
          }
  
          if (!context) {
            context = 'service';
          }
  
          var selectedStrategies = angular.isArray(strategy) ? strategy : [strategy];
          return applyStrategies(value, mode, context, selectedStrategies);
        }
docs: @ngdoc function
  @name pascalprecht.translate.$translateSanitization#sanitize
  @methodOf pascalprecht.translate.$translateSanitization
  
  @description
  Sanitizes a value.
  
  @param {string|object} value The value which should be sanitized.
  @param {string} mode The current sanitization mode, either 'params' or 'text'.
  @param {string|StrategyFunction|array} [strategy] Optional custom strategy which should be used instead of the currently selected strategy.
  @param {string} [context] The context of this call: filter, service. Default is service
  @returns {string|object} sanitized value