angular-light icon indicating copy to clipboard operation
angular-light copied to clipboard

documentation for track by

Open dev-rke opened this issue 9 years ago • 2 comments

Hi,

i do not understand what the "track by" expression of the repeat directive is good for. What can be achieved using track-by? It would be great to link an example in the docs. https://angular-light.readthedocs.org/en/latest/directive/al-repeat.html

dev-rke avatar Dec 12 '15 00:12 dev-rke

It's not a filter, it's way to bind an item of array and DOM element, I will make an article about it.

It works the same way in angularjs, so you can google angularjs + track by.

lega911 avatar Dec 12 '15 14:12 lega911

Wow, i think i understood now. It still would be helpful to note this in the alight docs.

dev-rke avatar Dec 12 '15 18:12 dev-rke