angular 动态取到的html片段 在页面的展示

写个过滤器

xxx.filter(  
    'to_trusted', ['$sce', function ($sce) {  
        return function (text) {  
            return $sce.trustAsHtml(text);  
        }  
    }]  
)  

使用

<div class="col-md-12 ng-binding" ng-bind-html="item.content|to_trusted ">