$scope.name=$sce.trustAsHtml($scope.name);
$scope.name=$sce.trustAsHtml(
$scope.name
);
<p ng-bind-html="name"></p>