I've observed that whenever I invoke functions from my Angular view, the functions are executed multiple times, even when the data remains unchanged.
For instance:
<div ng-repeat="day in days_array">
{{getWeek(day)}}
</div>
As a result, the getWeek() function is called for every item in days_array almost each time there is any modification made anywhere in the application. This led me to wonder if filters could potentially resolve this issue? Are filters only triggered when the days_array is modified, thereby enhancing performance?