<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Angular ngBindHtml</title>
  

  <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.5.3/angular.min.js"></script>
  <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular-sanitize.js"></script>
  

  
</head>
<body ng-app="ornekModul">

<script>
  angular.module('ornekModul', ['ngSanitize'])
    .controller('ornekController', ['$scope', function($scope) {
      $scope.myHTML =
     'Bu bir örnek html ' +
     '<a href="#">linki!</a>';
    }]);
</script>
<div ng-controller="ornekController">
  <p ng-bind-html="myHTML"></p>
</div>

</body>
</html>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.2/angular.min.js