daniel-nagy / md-data-table

Material Design Data Table for Angular Material
MIT License
1.9k stars 519 forks source link

Generic Error #191

Closed vapits closed 8 years ago

vapits commented 8 years ago

Hey,

i tried to use md-data-table to my angular project but it seems there is an error. Is use Angular 1.3.15, install with bower install and use of browserify.

The error i'm getting is very generic:

Error: mdDataTable
    at Object.a [as compile] (http://localhost:8001/src/js/libsBundle.js:4596:1388)
    at applyDirectivesToNode (http://localhost:8001/src/js/libsBundle.js:74624:32)
    at compileNodes (http://localhost:8001/src/js/libsBundle.js:74165:15)
    at compileNodes (http://localhost:8001/src/js/libsBundle.js:74177:15)
    at compileNodes (http://localhost:8001/src/js/libsBundle.js:74177:15)
    at compile (http://localhost:8001/src/js/libsBundle.js:74072:15)
    at link (http://localhost:8001/src/js/libsBundle.js:89639:9)
    at invokeLinkFn (http://localhost:8001/src/js/libsBundle.js:75384:9)
    at nodeLinkFn (http://localhost:8001/src/js/libsBundle.js:74894:11)
    at compositeLinkFn (http://localhost:8001/src/js/libsBundle.js:74243:13) <table md-data-table="">

My code html is simple enough:

    <md-data-table-container>
        <table md-data-table>
            <tbody>
                <tr ng-repeat="item in datasetData.data">
                    <td>{{item}}</td>
                </tr>
            </tbody>
        </table>
    </md-data-table-container>

Any ideas?

truginis commented 8 years ago

Try adding to your table. I get errors if I don't add it.

Sent via the Galaxy S®6

-------- Original message -------- From: Vassilis Pitsounis notifications@github.com Date: 11/25/2015 4:52 AM (GMT-05:00) To: daniel-nagy/md-data-table md-data-table@noreply.github.com Subject: [md-data-table] Generic Error (#191)

Hey,

i tried to use md-data-table to my angular project but it seems there is an error. Is use Angular 1.3.15, install with bower install and use of browserify.

The error i'm getting is very generic:

Error: mdDataTable at Object.a as compile at applyDirectivesToNode (http://localhost:8001/src/js/libsBundle.js:74624:32) at compileNodes (http://localhost:8001/src/js/libsBundle.js:74165:15) at compileNodes (http://localhost:8001/src/js/libsBundle.js:74177:15) at compileNodes (http://localhost:8001/src/js/libsBundle.js:74177:15) at compile (http://localhost:8001/src/js/libsBundle.js:74072:15) at link (http://localhost:8001/src/js/libsBundle.js:89639:9) at invokeLinkFn (http://localhost:8001/src/js/libsBundle.js:75384:9) at nodeLinkFn (http://localhost:8001/src/js/libsBundle.js:74894:11) at compositeLinkFn (http://localhost:8001/src/js/libsBundle.js:74243:13)

My code html is simple enough:

<md-data-table-container>
    <table md-data-table>
        <tbody>
            <tr ng-repeat="item in datasetData.data">
                <td>{{item}}</td>
            </tr>
        </tbody>
    </table>
</md-data-table-container>

Any ideas?

— Reply to this email directly or view it on GitHubhttps://github.com/daniel-nagy/md-data-table/issues/191.

Click herehttps://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ== to report this email as spam.

This message has been scanned for malware by Websense. www.websense.com

vapits commented 8 years ago

Did that nothing changed.

vapits commented 8 years ago

Nuh now it's working, not changed anything. maybe a cache (?) issue. sorry.