JSFiddle - React, Tailwind, and code Playground
by ItsLeeOwen
HTML
<script src="http://underscorejs.org/underscore-min.js"></script>
<script src="http://epeli.github.io/underscore.string/dist/underscore.string.min.js"></script>
<script src="http://code.angularjs.org/1.2.1/angular-sanitize.js"></script>
<div ng-controller="Ctrl">
<!-- non decoded -->
<h3>{{value}}</h3>
<!-- using the _ service -->
<h3>{{_.unescapeHTML(value)}}</h3>
<!-- using the ngSanitize service -->
<h3 ng-bind-html="value"></h3>
</div>
JavaScript
angular.module('app', ['ngSanitize', '_']);
function Ctrl($scope, _) {
$scope._ = _;
$scope.value = "Chase & Status";
}
angular.module('_', []).factory('_', function() {
_.mixin(_.string.exports());
return _;
});