JSFiddle - React, Tailwind, and code Playground

by frishi

HTML

<script src="https://code.angularjs.org/1.0.1/angular-1.0.1.js"></script>
<script src="https://code.angularjs.org/1.0.1/angular-sanitize-1.0.1.js"></script>
  <table ng-controller="AppController">
    <tr ng-repeat="sum in data">
    <td>{{sum.description.key}}</td>
    <td ng-bind-html="sum.description.value"></td>
    </tr>
  </table>

JavaScript

var app = angular.module('app', ['ngSanitize']);


function AppController($scope){
	$scope.data =[{
 "lots of":"keys",
 "description" : {
   "key":"Some sample key",
   "value":"This is the markup&trade;"
  }
},{
 "lots of":"keys",
 "description" : {
   "key":"Some sample key",
   "value":"This is the markup&trade;"
  }
},{
 "lots of":"keys",
 "description" : {
   "key":"Some sample key",
   "value":"This is the markup&trade;"
  }
}]


}