【发布时间】:2012-09-03 03:27:29
【问题描述】:
我有这个简单的代码。问题是"ng-switch-when" 未显示,这意味着column.stage 未正确呈现,尽管我尝试显示{{column.stage}} 并显示正确的值(1 OR 2 OR 3...)
<div class="column span3" ng-repeat="column in columns">
<h1>{{column.title}}</h1>
<div class="row" ng-repeat="shot in shots" ng-switch on="shot.stage">
<h6 ng-switch-when="{{column.stage}}">{{shot.title}}</h6>
</div>
</div>
【问题讨论】:
标签: angularjs javascript-framework