<commit_before># Material Design Data Table

This module is an effort to implement Material Design data tables in [Angular Material](https://material.angularjs.org/latest/#/). I hope that this module will serve as a temporary solution to those who need this functionality and also serve as a playground, or lessons learned, when developing an official solution.

Specification for Material Design data tables can be found [here](http://www.google.com/design/spec/components/data-tables.html).

## Demo

http://danielnagy.me/md-data-table/

## Installation
This package is installable through the Bower package manager.

```
bower install angular-material-data-table --save
```

> This module is experimental technology.

## usage

```html
<table md-data-table md-row-select ng-controller="nutritionController">
  <thead>
    <tr>
      <th order-by="name">Dessert (100g serving)</th>
      <th numeric>Calories</th>
      <th numeric unit="g" precision="1">Fat</th>
      <th numeric unit="g">Carbs</th>
      <th numeric unit="g" precision="1">Protein</th>
      <th numeric unit="mg">Sodium</th>
      <th numeric unit="%">Calcium</th>
      <th numeric unit="%">Iron</th>
    </tr>
  </thead>
  <tbody>
    <tr ng-repeat="dessert in desserts">
      <td>{{dessert.name}}</td>
      <td>{{dessert.calories}}</td>
      <td>{{dessert.fat}}</td>
      <td>{{dessert.carbs}}</td>
      <td>{{dessert.protein}}</td>
      <td>{{dessert.sodium}}</td>
      <td show-unit>{{dessert.calcium}}</td>
      <td show-unit>{{dessert.iron}}</td>
    </tr>
  </tbody>
</table>
```<commit_msg>updating README to reflect changes<commit_after># Material Design Data Table

This module is an effort to implement Material Design data tables in [Angular Material](https://material.angularjs.org/latest/#/). I hope that this module will serve as a temporary solution to those who need this functionality and also serve as a playground, or lessons learned, when developing an official solution.

Specification for Material Design data tables can be found [here](http://www.google.com/design/spec/components/data-tables.html).

## Demo

http://danielnagy.me/md-data-table/

## Installation
This package is installable through the Bower package manager.

```
bower install angular-material-data-table --save
```

> This module is experimental technology.

## usage

```html
<md-data-table-container>
  <table md-data-table md-row-select ng-controller="nutritionController">
    <thead>
      <tr>
        <th order-by="name">Dessert (100g serving)</th>
        <th numeric>Calories</th>
        <th numeric unit="g" precision="1">Fat</th>
        <th numeric unit="g">Carbs</th>
        <th numeric unit="g" precision="1">Protein</th>
        <th numeric unit="mg">Sodium</th>
        <th numeric unit="%">Calcium</th>
        <th numeric unit="%">Iron</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="dessert in desserts">
        <td>{{dessert.name}}</td>
        <td>{{dessert.calories}}</td>
        <td>{{dessert.fat}}</td>
        <td>{{dessert.carbs}}</td>
        <td>{{dessert.protein}}</td>
        <td>{{dessert.sodium}}</td>
        <td show-unit>{{dessert.calcium}}</td>
        <td show-unit>{{dessert.iron}}</td>
      </tr>
    </tbody>
  </table>
</md-data-table-container>
```
{'fraction_non_alphanumeric': 0.1628119293974437, 'fraction_numerical': 0.0030432136335970784, 'mean_word_length': 3.3826666666666667, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 91, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4760970', 'n_tokens_mistral': 1091, 'n_tokens_neox': 1010, 'n_words': 276}