0
这是非常奇怪的情况。我有以下文件夹结构角度不被检测
├── angular.min.js
├── app.js
├── bootstrap.min.css
└── tenant.html
,这是我tenant.html
文件
<!DOCTYPE html>
<html ng-app="condos">
<head>
<link rel="stylesheet" type="text/css" href="bootstrap.min.css"/>
</head>
<body>
1 + 2
{{'hello'}}
<script type="text/javascript" src="angular.min.js"></script>
<script type="text/javascript" src="app.js"></script>
</body>
</html>
当我预览该文件,我看不到的角度表达{{}}
执行。我想不出我缺少什么:■
这里是我的app.js
(function(){
var app = angular.module('condos',[]);
})();
应该按原样工作,你的浏览器网络标签说什么,开始g请求角度时是否有404s? – danday74
Ps类型文本html5不需要JavaScript我会放弃它 - 但这与解决方案的目的无关 - 您的net选项卡说什么? – danday74
这工作正常吗? [PLUNKR](http://plnkr.co/edit/d8Fb7o8OjUFdXOLKAaS7?p=preview) –