1,安装 angular-sanitize
bower install angular-sanitize --save
引入到 html
<script src="/bower_components/angular-sanitize/angular-sanitize.js"></script>
2,安装完毕后,引入模块
angular.module('app', ['ngSanitize'])
3,使用方法:data['content']为你要绑定的字段
<div class="content" ng-bind-html="data['content']"></div>
4,刷新页面查看修改是否成功