Flexible Angular.js component for tabular data