question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Controller 'mdtTable', required by directive 'mdtHeaderRow', can't be found!

See original GitHub issue

i found this error is similar to a closed issue “Controller ‘mdDataTable’, required by directive ‘mdDataTableHeaderRow’, can’t be found!”, i followed the final solution of that issue to test by adding <script src="https://code.jquery.com/jquery-2.1.4.js"> </script> <script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.10.1/lodash.min.js"> </script> , but i am no luck.

Could you please to have some ideas for this issue?

thanks yan

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:32 (10 by maintainers)

github_iconTop GitHub Comments

5reactions
develmoodcommented, Mar 27, 2016

I copied the example 1:1, just to get it running. First, i got the same error as described, but then I found a solution for my case. Right order of js-files is important:

  1. jquery.min.js
  2. angular.min.js
  3. angular-animate.min.js
  4. angular-aria.min.js
  5. angular-material.min.js
  6. lodash.min.js
  7. angular-material-icons.min.js
  8. md-data-table-templates.js
  9. md-data-table.js

Maybe it helps.

1reaction
chungyan5commented, Mar 28, 2016

hi all,

It seems my fault in testing. It is worked, however, i still cannot use it.

I just try the html and js files by browser in file:///folder/file.html, it works, no any error. When i use electron.atom.io to run it, it showed me this error.

@publicroot still have this problem even following your sequence. @iamisti I selected your demo html and js code for testing, so should have “closing tags”.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Controller required by directive can't be found in Angular.JS
As the title indicates, I get this error with a parent custom directive (that defines a controller) in a ng-view that replaces the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found