Show trusted HTML in AngularJS Get link Facebook X Pinterest Email Other Apps By Gaurav Goyal - February 22, 2016 angular.module('myAngApp.filters', []). filter("sanitize", ['$sce', function($sce) { return function(htmlCode){ return $sce.trustAsHtml(htmlCode); } }]); Read more