JSFiddle - React, Tailwind, and code Playground
by Shashank D
HTML
<div ng-app="app" ng-controller="test">
<div class="text pre-txt" ng-bind-html="caseStudy.Overview | to_trusted"></div>
</div>
JavaScript
var app = angular.module('app', []);
app.controller('test', function($scope, $sce) {
$scope.caseStudy = {
"Overview": "<ul><li>aaaa</li><li>bbbb</li><li>cccc</li><li>dddd</li></ul>"
};
});
app.filter('to_trusted', ['$sce', function ($sce) {
return function (text) {
return $sce.trustAsHtml(text);
};
}]);