Added MIN and MAX function for groupBy()

This commit is contained in:
Alexander Zobnin
2016-01-24 13:23:47 +03:00
parent c64dd1d874
commit 69bee3db0b

View File

@@ -95,5 +95,13 @@ function (angular, _, moment) {
return sum / values.length;
};
this.MIN = function(values) {
return _.min(values);
};
this.MAX = function(values) {
return _.max(values);
};
});
});