How to set list order by in Angular Js

We have learn about angular js to set list in ascending and descending order.

//To set table list as an order by in Angular Js by using this code (orderBy : 'Country')
      <tr ng-repeat=”x in names | orderBy : ‘Country’ ” >
        <td>{{ x.Name }}</td>
        <td>{{ x.Country }}</td>

We got this blog from for blog more information Click Here

Leave a Reply