JSFiddle - React, Tailwind, and code Playground

by Michele Marcucci

HTML

<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.1/angular-route.js"></script>
<div ng-app="app" >
     <div ng-controller="CartController">
    <label ng-bind-html="title"> 
    </label>
    </div>
</div>

CSS

li a{
  background-color: red !important;
  border: 1px solid red !important;
}

li a:before{
border-left-color: red !important;
}

.green {
    background-color: green !important;
}

JavaScript

var app = angular.module("app", []);
app.controller('CartController', function($scope, $sce) {
    $scope.test = "How are you..!How are you..!How are you..!";
    $scope.title = $sce.trustAsHtml("<p>hello world</p><div>"+$scope.test+"</div>");
});