Here's a scenario I encountered: I have a complex object and need to iterate through it to perform some arithmetic operations. These values won't be stored in the backend, just for display.
Should I use ng-repeat and ng-if in the view, or should I use a for loop and if condition in the controller? Which approach would perform better, or are they on par?