JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://code.angularjs.org/snapshot/angular.js"></script>
<script src="https://code.angularjs.org/snapshot/angular-sanitize.js"></script>
<textarea ng-model="data"></textarea>
<hr>
<div ng-bind-html="data | toTrusted"></div>
JavaScript
angular.module('app', ['ngSanitize']).
filter('toTrusted', function ($sce) {
return function (value) {
return $sce.trustAsHtml(value);
};
});