Function key_helper gets called many more times than expected.if orderedkeys length is 5 it gets called 25 times instead of 5 times .I am not sure what code to incluce for better understating of my problem.how to make sure it .doesn't repeat
Template:
<td ng-repeat="key in orderedkeys" >
<div>{{Key_Helper(key)}}</div>
</td>
I tried with a filter:(same problem)
<td ng-repeat="key in orderedkeys" >
<div>{{key | debug}}</div>
</td>
Function:
$scope.Key_Helper = function(item)
{
console.log("key");
};