Added track by $index to fix "Duplicates in a repeater are not allowed" error.