Fix #1573(aggregation): make labels i18n and switchable

Add unit tests, extend e2e tests, add ngdoc.