Posts

Showing posts with the label Show Trusted HTML

Show trusted HTML in AngularJS

angular.module('myAngApp.filters', []). filter("sanitize", ['$sce', function($sce) {   return function(htmlCode){     return $sce.trustAsHtml(htmlCode);   } }]);