Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/379.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/80.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 我一直得到这个错误:参数'ExampleController'不是一个函数,没有定义_Javascript_Html_Angularjs_Controller - Fatal编程技术网

Javascript 我一直得到这个错误:参数'ExampleController'不是一个函数,没有定义

Javascript 我一直得到这个错误:参数'ExampleController'不是一个函数,没有定义,javascript,html,angularjs,controller,Javascript,Html,Angularjs,Controller,角JS教程 模态对话框的服务示例 imports.jsp的输出是什么?你确定它包含angularExampleController.js吗? 就个人而言,如果能看到html在浏览器中加载时的样子,而不是它的jsp版本,这会有所帮助。但我也发现了问题所在,我有一个ng应用程序在标记中定向,ng app=AngularExample,这就是问题的原因。我从标记中删除了指令,这就解决了它

角JS教程 模态对话框的服务示例
imports.jsp的输出是什么?你确定它包含angularExampleController.js吗?
就个人而言,如果能看到html在浏览器中加载时的样子,而不是它的jsp版本,这会有所帮助。

但我也发现了问题所在,我有一个ng应用程序在标记中定向,ng app=AngularExample,这就是问题的原因。我从标记中删除了指令,这就解决了它