I have a group of items in a list. Whenever you click on an item, it expands to show more information. I would like all other items in the list to be blurred except for the one that is expanded.
<li href="#" class="list-group-item" ng-repeat="task in taskVm.tasksdata | orderBy: 'NAME' | filter: search | statusFilter: taskVm.statusArray">
<div class="row" ng-click="task.isCollapsed = !task.isCollapsed">
<div class="col-md-5">
<lable>[[::task.NAME]]</lable>
</div>
<div class="col-md-5 offset-md-1">
<lable ng-class="taskVm.getStateClass(task.STATUS)">[[::task.STATUS]]</lable>
</div>
<div class="col-md-2">
<i ng-click="taskVm.openAlternativeTask(task)" class="fa fa-question-circle-o fa-stack-1x pull-right"></i>
</div>
</div>
<div uib-collapse="task.isCollapsed">
<hr>
<div class="row">
<lable>[[::task.MESSAGE]]</lable>
</div>
<div class="row">
<div class="row" ng-hide="task.M.length ===0">
<hr>
<label>Alternatives</label>
</div>
<div class="row">
<ul class="alternatives-list list-group">
<li class="list-group-item" ng-repeat="alternative in task.M" ng-click="showAlternative(alternative.ID, alternative.SETNUMBER); taskVm.setSelected(alternative.SETNUMBER)" ng-class="{selected: alternative.SETNUMBER === taskVm.idSelectedVote}">[[alternative.SETNAME]]</li>
</ul>
</div>
</div>
</div>
</li>
These are the items in my list