title: Set Variable Inside Xeditable Row
body: <p>I am using the Xeditable directive to have an editable form.</p>
  
  <p>I have two dropdowns, and when one changes, I want to update the other. The problem is that Xeditable creates a child scope when editing the form. I cannot figure out how to set a variable within the scope of that child, so that the variable only exists in the scope of that table row.</p>
  
  <p>I tried </p>
  
  <pre><code> e-ng-init="myChildVariable = 1"
  </code></pre>
  
  <p>Then</p>
  
  <pre><code> e-ng-change="myChildVariable =2"
  </code></pre>
  
  <p>But it does not seem to get updated when I trace {{myChildVariable}}.</p>
  
  <p>Inside the directive, it creates this scope:</p>
  
  <pre><code>    var self = this;
      self.inputEl.bind('change', function() {
        self.scope.$apply(function() {
          self.scope.$form.$submit();
        });
      });
  </code></pre>
  
  <p>XEditable can pass the current selection from the dropdown in $data. So I tried to pass it to a function in the controller:</p>
  
  <pre><code> e-ng-change="updateVarible($data)"
  </code></pre>
  
  <p>but that updates the $parent scope.</p>
  
  <p>I need the first select to set the variable and the second one to filter. I have the filter working, I just need to set the variable that the second one can access.</p>
  
  <pre><code>    &lt;span editable-select="user.status" e-ng-change="setVariableHereSomehow" e-form="rowform" e-ng-options="s.value as s.text for s in statuses"&gt;
        {{ showStatus(user) }}
      &lt;/span&gt;
  
      &lt;span editable-select="user.group" e-name="group" onshow="loadGroups()" e-form="rowform" e-ng-options="g.id as g.text for g in groups | filter: useTheVariableHere"&gt;
  </code></pre>
  
  <p>Xeditable demo of row editing for reference:</p>
  
  <blockquote>
    <p><a href="http://jsfiddle.net/NfPcH/93/" rel="nofollow">http://jsfiddle.net/NfPcH/93/</a></p>
  </blockquote>
  
  <p>Note: I am using 1.3 and that demo uses 1.0.8, so I can use newer filters.</p>
  
  <p>When using Xeditable, how can I set a variable inside a ng-repeat that scopes to itself and not the parent?</p>