Get ngSanitize as a dependency in your module
var app = angular.module("dene",['ngSanitize']);
app.controller("deneCtrl",function(){
this.selam = "<p>Merhaba <strong>Angular</strong></p>";
});
and use ng-bind-html in your view
<div ng-controller="deneCtrl as dene">
<span ng-bind-html = " dene.selam "> </span>
</div>
but be sure to include related versions
how in
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular-sanitize.min.js"></script>
or if you prefer it locally, you download a copy of
https://code.angularjs.org/
Mark
, ngSanitize, AngularJS. ,
... - , (, angular 1.2.23 angular -sanitize 1.0.0), ( ), ALOT OF ERRORS at ALL:) - ,
, : D