ngSanitize.$sanitize
Improve this Doc View Source $sanitize
- $sanitizeProvider
- service in module ngSanitize
Sanitizes an html string by stripping all potentially dangerous tokens.
The input is sanitized by parsing the HTML into tokens. All safe tokens (from a whitelist) are then serializ