通过api,发现可以通过指令 ng-bind-html和$sce服务来实现html的输出。 文档:https://docs.angularjs.org/api/ng/service/$sce in html

<div ng-bind-html="curHtml"></div>
in controller
        $scope.showDetail = function(post){
            $scope.curPost = post;
            $http.get('/api/bokehmon/contributor/post/'+post.id).success(function(response){
                $scope.curHtml = $sce.trustAsHtml(response.html);
            });

        }