0
我试图绑定服务价值几申报单”NG-显示未与布尔值
<body ng-controller="PageConfigurationController">
<label>{{TopLeftPage}}</label><label>{{TopRightPage}}</label>
<label>{{ButtomRightPage}}</label><label>{{ButtomLeftPage}}</label>
<div ng-show="{{TopLeftPage}}"><h1>Div1 </h1></div>
<div ng-show="{{TopRightPage}}"><h1>Div2 </h1></div>
<div ng-show="{{ButtomRightPage}}"><h1>Div3 </h1></div>
<div ng-show="{{ButtomLeftPage}}"><h1>Div4 </h1></div>
的标签显示布尔工作值正常,但在默认情况下所有的div都hidded,无论如果这是真的还是假的。
NG-显示已绑定的角度没有必要的{{}} – Prasad