JSFiddle - React, Tailwind, and code Playground

by Moien Tajik

HTML

<body ng-app="myApp" ng-controller="myCtrl">
  <ol>
    <li ng-repeat="x in names | orderBy : 'country'">{{x.firstname + " from " + x.country}}</li>
  </ol>
</body>
<script>

var app = angular.module("myApp" , []);
app.controller("myCtrl" , function($scope){
	$scope.names = [
  	{firstname : 'Moien' , country : 'IRAN'},
    {firstname : 'John' , country : 'USA'},
    {firstname : 'Michael' , country : 'Austrlia'}
  ];
});

</script>