Im using nodejs memoize to chunk an object in Angularjs (to better use it with bootstrap columns)
app.filter('chunk', function() {
return memoize(chunk);
});
and in view:
<div class="row" ng-repeat="row in groupProjects | chunk:4">
<div class="col-xs-12 col-sm-6 col-md-3" ng-repeat="item in row">
{{item.name}}
</div>
</div>
But if i get new data for groupProjects in my controller, thew view is not updated. It updates, if i remove the filter, but not with it.
What causes the problem? Thanks