我创建了一个自定义模块,并试图使用这里描述的附加方法将javascript文件添加到一个块中。我与路径/ to /file混淆,因为我试图给出一个完整的路径,即"/var/www/html/sites/all/modules/custom_module/js/file.js"。和较短的路径"js/file.js"
但它不装。上面只写着file_ge
$apply.bind’($scope,)(在/home/hpro/ironridge/src/app/components/array/array.controller.js:183处未定义,在调用时为/bower_components/angular-mocks/angular-mocks.js:1878 at /home/hpro/ironridge/