JSFiddle - React, Tailwind, and code Playground

by wrafal

HTML

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<div ng-app="myApp">

<div ng-controller="QuestionController">
<table class="table table-striped">
<thead>
<th>Id</th>  
<th>Title</th>  
<th>Full question</th>  
<th>Negative count</th>
<th>Positive count</th>

</thead>
<tbody>
  
<tr ng-repeat="question in allQuestions">
  <td>{{ question.id }}</td>
  <td>{{ question.title }}</td>
  <td>{{ question.content }}</td>
  <td>{{ question.positiveCount }}</td>
  <td>{{ question.negativeCount }}</td>
  <td>{{ question.hideDate }}</td>
</tr>
</tbody>

</table>
</div>
</div>

JavaScript

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

function QuestionController($scope) {
    $scope.name = 'Superhero';
}