JSFiddle - React, Tailwind, and code Playground
by Saras Arya
HTML
<div ng-app="myApp">
<div ng-controller='myController'>
</div>
</div>
JavaScript
var app = angular.module('myApp', []);
app.controller('myController', function($scope, $filter){
$scope.person = [{
name : "Saras"
},
{
name : "Arya"
}];
$filter('orderBy')($scope.person, 'name');
console.log($scope.person);
});