I have this ng-repeat:
<div ng-repeat="prop in props">
<div ng-repeat="tenant in prop.Tenants">
<label class="col-md-6 control-label">Tenant {{$index?}} ({{tenant.TenantName}})</label>
</div>
</div>
I want to have incremented autonumber which will increase by 1 for each tenant in all the property tenants, the array is not important as long as there are tenants from all the arrays the autonumber will increase by 1.
Is there easy way to do this in the html or I need to write some controller code as well?