我想結束在NG-重複DIV中的按鈕,關閉DIV點擊按鈕通過單擊DIV
HTML
<div ng-repeat="indexVal in vm.flowObject track by $index">
<div ng-show="listItems.title=='Menu'" class="Margin_Set" id="div2" scroll>
<button>
Close div
</button>
</div>
</div>
JS
$scope.listItems = [{
name: "some name",
title: "Menu"
}];
https://jsfiddle.net/uey4xr5L/
關閉在這個意義上你的意思是隱藏它? –