Do you see a distinction in how ng-repeat is written in these two examples?
<div ng-repeat="item in getItems()">
Versus this:
<div ng-repeat="item in items">
Imagine getItems is structured like this:
$scope.getItems = function() {
return Object.values(objA).concat(Object.values(objB));
}
In the second scenario, I would need to keep track of updating the array items
whenever objA and objB undergo changes.