Controller not a function, got undefined, while defining controllers globally

后端 未结 14 1777
感动是毒
感动是毒 2020-11-22 00:22

I am writing a sample application using angularjs. i got an error mentioned below on chrome browser.

Error is

Error: [ng:areq] http://errors.

相关标签:
14条回答
  • 2020-11-22 01:02

    I was getting this error because I was using an older version of angular that wasn't compatible with my code.

    0 讨论(0)
  • 2020-11-22 01:02

    These errors occurred, in my case, preceeded by syntax errors at list.find() fuction; 'find' method of a list not recognized by IE11, so has to replace by Filter method, which works for both IE11 and chrome. refer https://github.com/flrs/visavail/issues/19

    0 讨论(0)
提交回复
热议问题