<commit_before>Table + Angular JS
======

[Demo](http://jsfiddle.net/esvit/aL324/3/embedded/result/)

# Installing via Bower
```
bower install https://github.com/esvit/ng-table.git
```

```html
<table ng-table="update" pager="articles.pager">
    <tr ng-repeat="article in articles.data">
        <td width="20">
            <input type="checkbox" ng-model="article.checked" />
        </td>
        <td sortable="title" filter="{ 'title': 'text' }" title="Title">
            <a href="#!/news/edit{[article.id]}">{[article.title]}</a>
        </td>
        <td filter="{ 'user_id': 'select' }" filter-data="users" sortable="user_id" width="140" title="Author">
            {[article.user]}
        </td>
        <td filter="{ 'created_at': 'date' }" sortable="created_at" width="140" title="Date of creation" class="text-center">
            {[article.created_at|date:'yyyy-MM-dd']}<br/>
            {[article.created_at|date:'HH:mm:ss']}
        </td><commit_msg>add jsfiddle demo for twitter bootstrap 2<commit_after>Table + Angular JS
======

# Demos

* [Twitter Bootstrap 2 Theme](http://jsfiddle.net/esvit/4jVDD/embedded/result/)
* [Twitter Bootstrap 3 Theme](http://jsfiddle.net/esvit/aL324/embedded/result/)

# Installing via Bower
```
bower install https://github.com/esvit/ng-table.git
```

# Usage

```html
<table ng-table="update" pager="articles.pager">
    <tr ng-repeat="article in articles.data">
        <td width="20">
            <input type="checkbox" ng-model="article.checked" />
        </td>
        <td sortable="title" filter="{ 'title': 'text' }" title="Title">
            <a href="#!/news/edit{[article.id]}">{[article.title]}</a>
        </td>
        <td filter="{ 'user_id': 'select' }" filter-data="users" sortable="user_id" width="140" title="Author">
            {[article.user]}
        </td>
        <td filter="{ 'created_at': 'date' }" sortable="created_at" width="140" title="Date of creation" class="text-center">
            {[article.created_at|date:'yyyy-MM-dd']}<br/>
            {[article.created_at|date:'HH:mm:ss']}
        </td>
{'fraction_non_alphanumeric': 0.20702936928261917, 'fraction_numerical': 0.012999518536350506, 'mean_word_length': 3.164328657314629, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '3967808', 'n_tokens_mistral': 750, 'n_tokens_neox': 676, 'n_words': 126}