Consider the following ng-repeat:
<p ng-repeat="item in items">
<span ng-bind="getName(item)"></span>
</p>
Now the weird thing is that if I have an array with 10 items, the getName is called 20 times
Checkout this jsfiddle
Can someone explain why this is happening. Performance wise this might be a killing (I can imagine)