| Directive | How | Source | Rendered | 
| ng-bind-html | Automatically uses $sanitize | <div ng-bind-html="snippet"> | |
| ng-bind-html | Bypass $sanitize by explicitly trusting the dangerous value | <div ng-bind-html="deliberatelyTrustDangerousSnippet()"> </div> | |
| ng-bind | Automatically escapes | <div ng-bind="snippet"> |