0
我想通过ng-click为教程页面中显示的值赋予变量,但它不能解决喷气问题。我究竟做错了什么?ngClick在我的角度应用程序中不起作用
<div ng-controller="PropertyCtrl" ng-init="active='Please select an option'">
<div class="left-third" >
<ul>
<li ng-repeat="property in properties">
<a href="" ng-click="active='{{property}}'">{{property}}</a>
</li>
</ul>
</div>
<div class="right-rest">
<h4>{{active}}</h4>
</div>
</div>
感谢您的帮助!