trustAsHtml 或者$sanitize. $sce:它是angular的内置服务,默认是开启的。 ... trustAsHtml之后,就可以直接把$scope.trustHtml绑定到ng-bind-html中,$scope.
確定! 回上一頁