AngularJS Show/Hide Toggle with NG-Repeat
<p>I have a list of items which on click should open the single item, but currently when trying to open the single item it opens all items and on second click closed all the items - could somebody please advice where I am going wrong with my code below. Thank you.</p>

<p><strong>HTML</strong></p>

<pre><code>&lt;div data-ng-repeat="item in items" layout="column"&gt;
  &lt;div layout="row"&gt;
    &lt;md-button class="md-primary" ng-click="toggleFilter()"&gt;Item {{$index + 1}}&lt;/md-button&gt;
  &lt;/div&gt;
  &lt;div ng-hide="toggle"&gt;
    &lt;!-- Content --&gt;
  &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p><strong>JS</strong></p>

<pre><code>$scope.toggle = true;
$scope.toggleFilter = function() {
  $scope.toggle = $scope.toggle === false ? true : false;
};
</code></pre>