0
我正在使用angularjs创建一个web应用程序,并且需要在我的web应用程序中添加twitter数字。无法读取angularjs中未定义的属性'init'
我插入angular-digits.js
文件:
我包括在HTML <head>
节本文件:
<script src="js/angular-digits.js"></script>
调用这个文件app.js
文件:
angular.module("sampleApp", ["firebase","atticoos.digits","ngRoute"]);
它的工作与Firefox浏览器。
,但在Chrome浏览器中显示
"Uncaught TypeError: Cannot read property 'init' of undefined "
你可以在jsfiddle中重现吗? – devqon
我想你是在多个地方添加一个js文件。请检查这个。 –