JSFiddle - React, Tailwind, and code Playground

by Son Che Dinh

HTML

<body ng-app="lowerCaseFilter">
  <div ng-controller="ExampleController">
  <table class="employees">
    <tr>
      <th>Name</th>
      <th>Salary</th>
    </tr>
    <tr ng-repeat="employee in employees">
      <td>{{employee.name}}</td>
      <td>{{employee.salary | currency}}</td>
    </tr>
  </table>
</div>
</body>

JavaScript

angular.module('lowerCaseFilter', [])
.controller('ExampleController', ['$scope', function($scope) {
  $scope.employees = [
    {name: 'Dinh Thanh Tam',   salary: '3000'},
    {name: 'Hoang Van Quan',   salary: '1900'},
    {name: 'Nguyen Thanh Linh',   salary: '3100'},
    {name: 'Nguyen Dinh Huan',   salary: '1500'},
    {name: 'Cao Duy Khanh',  salary: '2500'}
  ];
}]);