angular-repeat-n
angular-repeat-n copied to clipboard
Can not use {{$index}} with ng-attr
i"m receiving TypeError: t.removeAttribute is not a function error from this code:
<div class="entry__row" ng-repeat-n="entryRows" ng-attr-data-index={{$index}}>
...
</div>
I'll get no error if I change $index with some other variable.