Angualr ng-bind-html样式不加载解决办法

myApp.filter('to_trusted', ['$sce', function ($sce) {
    return function (text) {
        return $sce.trustAsHtml(text);
    };
}]);
 
<p class="cause-ing" ng-bind-html="nodata.title | to_trusted"></p>
 
 
原文地址:https://www.cnblogs.com/zyzhao/p/9263476.html