Unable to find specific value from array with indexof method : Below is my array :

    $scope.Statistics = [];

This statistics array contains records like below :

    ['Usa'] : regions: 
              [0] : name : 'chicago'
              [1] : name : 'miami'
              [2] : name : 'alaska'
              [3] : name : 'washington'

This is my loop :

    <tr ng-repeat="region in Statistics[currentRegion].regions">
       <a data-ng-click="Myfunc(region.name)">
       </a>
     </tr>
    
    $scope.currentRegion = 'Usa';
     $scope.Myfunc = function (region) {
            $scope.currentIndex = $scope.Statistics[$scope.currentRegion].regions.indexOf(region);
            console.log($scope.currentIndex); // -1
        }

> The indexOf() method returns the first index at which a given element
> can be found in the array, or -1 if it is not present.

So can anybody please help me me how do i find respective region from this statistics array??