title: Cant set AngularJS variable in ng-reapeat
body: <p>I want to implement list which should be fully visible only after the click.
  But when I try to set value on <code>ng-click</code>, value scope is only in on clicked element.</p>
  
  <pre><code>&lt;ul data-ng-init="showIataList = false"&gt;
    {{showIataList}} &lt;-- always false :( but should be true after click on link from list
    &lt;li data-ng-repeat="value in data.departureIataList"&gt;
      &lt;a href="javascript:"
         data-ng-if="$index &lt; 3 || showIataList"&gt;
         {{value}}
      &lt;/a&gt;
      {{showIataList}}
      &lt;a href="javascript:"
         data-ng-if="!showIataList &amp;&amp; $index == 3"
         data-ng-click="showIataList = true"&gt;
          {{showIataList}} &lt;-- after click is true, but true should be and on the top showIataList variable
      &lt;/a&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>