0

所以我试图让我的jsFiddle工作,但我得到了这个错误和其他一些错误:

Error in event handler for 'undefined': Error calling method on NPObject. Error: Error calling method on NPObject.
    at chrome-extension://mkfokfffehpeedafpekjeddnmnjhmcmk/docstart.js:1:2117
    at Event.dispatchToListener (event_bindings:356:21)
    at Event.dispatch_ (event_bindings:342:27)
    at Event.dispatch (event_bindings:362:17)
    at miscellaneous_bindings:165:24
    at Event.dispatchToListener (event_bindings:356:21)
    at Event.dispatch_ (event_bindings:342:27)
    at Event.dispatch (event_bindings:362:17)
    at Object.chromeHidden.Port.dispatchOnMessage (miscellaneous_bindings:253:22) 

有任何想法吗?

4

1 回答 1

0

我不确定是什么导致了 NPObject 错误(看看这个答案是否有帮助),但是当使用带有硬编码字符串的 ng-include 时,你需要引用它:

<div ng-repeat="question in questions" ng-include="'question'"></div>

小提琴

于 2013-07-06T16:37:35.990 回答