>>I put the breakpoint in the getFilteredTotal method and I can see it executed several times (when I got tired I removed the breakpoint). I think I've seen similar issues before.
>>
>>Why would angularJs JavaScript execute this code multiple times when it's in a table? It is not in the ng-repeat directive, right? As the tr tag is closed already.
>
>Same problem as in my last reply: It's probably being evaluated on every $digest cycle. Solution is the same.
I am going to try to re-design it but if you can elaborate with a sample, it will be great.
Thanks again.
If it's not broken, fix it until it is.
My Blog