Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why do I see the method executed many times?
Message
 
 
General information
Forum:
Javascript
Category:
Other
Miscellaneous
Thread ID:
01620290
Message ID:
01620325
Views:
31
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform