Optimize ng-repeat with the Track by Feature in Angular January 1, 2019 Take a look at the following ng-repeat code example: This is inefficient, as the DOM is rendered every time the list is written to the page. Add the track by