level 1
<div ng-controller="myCtrl">
<p ng-bind-html="myText"></p>
</div>
<script>
var app = angular.module("myApp", ['ngSanitize']);
app.controller("myCtrl", function($scope,$sce) {
$scope.myText1 = "My name is: <h1>John Doe</h1>";
$scope.myText = $sce.trustAsHtml($scope.myText1);
});
</script>