Angular1 Security


// Angular 1 - Security:

Angular will escape HTML fed through {{...}} and ng-bind.  If we do not want 
this behavior, we can use trustAsHTML().  This is basically you telling Angular 
"Trust me, I know that this is safe HTML".

If we have to incorporate untrusted HTML, run it through $sanitize.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License