title: AngularJS ng-click in <tr> to hide a form
body: <p>I want to hide a form when you click on a tr of a table, using ng-click but when I click on the tr nothing happen,</p>
  
  <p>This is the code i have:</p>
  
  <pre><code>&lt;tbody ng-repeat="userf in user | filter:buscador as res"&gt;
              &lt;tr ng-click="edit($index);showuser= !showuser; hidefrmusuario = !hidefrmusuario"&gt;
                  &lt;td&gt;{{ userf.matricula }}&lt;/td&gt;
                  &lt;td&gt;{{ userf.nombre }}&lt;/td&gt;
                  &lt;td&gt;{{ userf.celular }}&lt;/td&gt;
                  &lt;td&gt;{{ userf.correo }}&lt;/td&gt;
              &lt;/tr&gt;           
  &lt;/tbody&gt;
  </code></pre>
  
  <p>Thanks btw</p>