0

所以我在我的 angularJS 应用程序的 javascript 中遇到错误,但我看不到它们在哪里。如果我在调试器中打开源选项卡并且看不到我的任何 angularJS 内容。这是我在控制台中遇到的错误示例以证明这一点:

Error: InvalidCharacterError: DOM Exception 5
Error: An invalid or illegal character was specified, such as in an XML name.
    at p.extend.attr (eval at <anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:4:4994), <anonymous>:2:30181)
    at Function.p.extend.access (eval at <anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:4:4994), <anonymous>:2:15973)
    at p.fn.extend.attr (eval at <anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:4:4994), <anonymous>:2:26741)
    at Object.Attributes.$set (eval at <anonymous> (eval at <anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:4:4994)), <anonymous>:3775:28)
    at eval (eval at <anonymous> (eval at <anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:4:4994)), <anonymous>:4406:15)
    at forEach (eval at <anonymous> (eval at <anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:4:4994)), <anonymous>:140:20)
    at mergeTemplateAttributes (eval at <anonymous> (eval at <anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:4:4994)), <anonymous>:4401:7)
    at applyDirectivesToNode (eval at <anonymous> (eval at <anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:4:4994)), <anonymous>:4149:13)
    at compileNodes (eval at <anonymous> (eval at <anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:4:4994)), <anonymous>:3902:15)
    at compile (eval at <anonymous> (eval at <anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:4:4994)), <anonymous>:3840:29)

注意堆栈跟踪中的所有内容?知道为什么会这样吗?它以前工作得很好...

4

1 回答 1

0

您应该查看名为 Batarang 的 Angular 的 Chrome 扩展:https ://chrome.google.com/webstore/detail/angularjs-batarang/ighdmehidhipcmcojjgiloacoafjmpfk

于 2013-06-24T10:49:53.803 回答