title: Angular JS ng-click not working in ng-repeat like filter
body: <p>So I use this code like filter to buttons:</p>
  
  <pre><code>&lt;input value="Type1" ng-click="typeF = {type: 'Type1'}" type="button"/&gt;
  &lt;input value="Type2" ng-click="typeF = {type: 'Type2'}" type="button"/&gt;
  &lt;input value="Type3" ng-click="typeF = {type: 'Type3'}" type="button"/&gt;
  &lt;input value="Type4" ng-click="typeF = {type: 'Type4'}" type="button"/&gt;
  &lt;input value="All" ng-click="typeF = null" type="button"/&gt;
  </code></pre>
  
  <p>And output data by filtering like this:</p>
  
  <pre><code>&lt;tr ng-repeat="product in products | filter:search | filter:someN | filter:typeF"&gt;
      &lt;td&gt;{{product.name}}&lt;/td&gt;
      &lt;td&gt;{{product.type}}&lt;/td&gt;
      &lt;td&gt;{{product.someNvalue}}&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>But I need to use this kind of filter too:</p>
  
  <pre><code>&lt;input ng-repeat="product in products | unique:'soneNvalue'" value="{{product.soneNvalue}}" ng-click="$parent.someN = {someNvalue: '{{product.someNvalue}}'}" type="button" &gt;
  </code></pre>
  
  <p><code>ng-click</code> is doing something, but I dod get any output, my list just disapears and all. I use <code>$parent</code> scope but it doesnt help much. Can anyone please help :)</p>