Using A Compound Track-By Expression With ngRepeat In AngularJS

You have {{ $scope.friends.length }} friends and {{ $scope.enemies.length }} enemies.