O'Reilly logo
  • hao wang thinks this is interesting:

In order to use this directive, we will need the angular-sanitize.js dependency. It brings the ngBindHtml directive and protects the application against common cross-site scripting (XSS) attacks.

From

Cover of AngularJS Essentials

Note

使用 ngBindHtml 需要加载 angular-sanitize.js