html - 我收到错误 Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.4.7/$injector/modulerr (只是一个要测试的 hello world 应用程序)
问题描述
我开始创建角度视图。我尝试休息 angular js 是否正确渲染但收到此错误
未捕获的错误:[$injector:modulerr] http://errors.angularjs.org/1.4.7/$injector/modulerr
我的脚本序列看起来像这样:https ://i.ibb.co/VCgrk83/scrpt.png “脚本序列”
测试应用程序,如:
<script>
angular.module("app", []).controller("HelloWorldCtrl", function ($scope) {
$scope.message = "Hello World"
})
</script>
我只是 GET {{message}} 并且没有呈现表达式
应用程序快照:https ://i.ibb.co/W5QgNBm/scrpt.png
感谢您的投入!!!
解决方案
推荐阅读
- c# - FastMember:指定的参数超出了有效值的范围。参数名称:名称
- java - 是否可以在页面加载之前填充 JSF 视图?
- jupyter - 如何安装 Jupyterhub
- server - 在 Ubuntu 上安装 Aerospike:无法启动服务器
- javascript - Chrome Extension can modify Window object but can't create new variable
- java - IntelliJ 14 - 从类路径中删除额外的 JAR
- scala - 其他栏目频率计算与探索
- docker - 单个域的多个位置的 Nginx 代理
- c# - 将 linq 结果转换为 JSON
- javascript - Glyphicon 未放置在文本框内 & glyphicon 日历大小问题