我的Javascript
var app = angular.module('Demo', []);
app.controller('DemoCtrl', function ($scope) {
$scope.expr = "Test"
});
app.controller('Test', function ($scope) {
$scope.HELLO = "HEllo World";
});
我的标记
<body ng-controller="DemoCtrl">
<div ng-controller="{{expr}}">{{HELLO}}</div>
</body>
这段代码无法正常工作。文档中说明ng-controller可以评估表达式。我做错了什么吗? JSBIn链接(http://jsbin.com/ubevel/13/edit)