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>Phone Number</th>
    </tr>
    <tr ng-repeat="employee in employees">
      <td>{{employee.name | uppercase}}</td>
      <td>{{employee.phone}}</td>
    </tr>
  </table>
</div>
</body>

JavaScript

angular.module('lowerCaseFilter', [])
.controller('ExampleController', ['$scope', function($scope) {
  $scope.employees = [
    {name: 'Dinh Thanh Tam',   phone: '123456'},
    {name: 'Hoang Van Quan',   phone: '987612'},
    {name: 'Nguyen Thanh Linh',   phone: '321223'},
    {name: 'Nguyen Dinh Huan',   phone: '555878'},
    {name: 'Cao Duy Khanh',  phone: '551235'}
  ];
}]);