angular ng-repeat 动态获取的dom片段 显示

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

 

posted @ 2017-06-08 16:48  Cynthia娆墨旧染  阅读(640)  评论(0编辑  收藏  举报