JSFiddle - React, Tailwind, and code Playground

HTML

<body ng-app="myApp">
    <div ng-controller="MyController">
        <table ng-click="tableClick($event)">
            <tr ng-repeat="row in rows track by $index" style="background:#666">
                <td>{{row}}</td>
            </tr>
        </table>
    </div>

</body>

JavaScript

var app = angular.module('myApp',[]);

app.controller('MyController', function($scope)
{
   $scope.rows = [1,2,3,4,5];
   $scope.tableClick = function($event)
   {
       var scope = angular.element($event.target).scope();
       console.log(scope.$index);
   };
});