shimError_ = function(e) {
    return {
      name: {PermissionDeniedError: 'NotAllowedError'}[e.name] || e.name,
      message: e.message,
      constraint: e.constraint,
      toString: function() {
        return this.name;
      }
    };
  }
@ngdoc module
@name ngSanitize
@description

The `ngSanitize` module provides functionality to sanitize HTML.

See {@link ngSanitize.$sanitize `$sanitize`} for usage.