title: How to find specific row in ng-table by text [protractor]
body: <p>I want to select specific element from a table by the second column value (I removed the whitespaces that where rendered), and after that element is found I want to click on it. (the return in true)
  I've tried this, but it doesn't click on it, it just finds the element.</p>
  
  <p>The html code for that filed I want to select is the following:</p>
  
  <pre><code>&lt;table ng-table="tableParams" id="Panel" class="tbl-option-list" template-pagination="directives/controls/Pager/Pager.html"&gt;
      &lt;caption translate&gt;Orders&lt;/caption&gt;
      &lt;tr id="Panel"&gt;
          &lt;!-- 1 --&gt;
          &lt;th class="fixed-width-glyphicon"&gt;&lt;/th&gt;
          &lt;!-- 2 --&gt;
          &lt;th translate&gt;Identifier&lt;/th&gt;
      &lt;/tr&gt;
          &lt;tr ng-repeat="item in $data track by $index" ng-class="{'active-bg': order.$selected}" ng-click="changeSelection(order,  getRowActions(order))"&gt;
          &lt;!-- 1 --&gt;
          &lt;td class="fixed-width-glyphicon"&gt;
              &lt;div class="fixed-width-glyphicon"&gt;
                  {{item.priority.toUpperCase()[0]}}
              &lt;/div&gt;
          &lt;/td&gt;
          &lt;!-- 2 --&gt;
          &lt;td&gt;{{item.identifierCode}}&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>The select command from protractor is:</p>
  
  <pre><code>element.all(by.repeater('item in $data track by $index')).filter(function(row) {
      row.getText().then(function(txt) {
          txt = txt.replace(/\s/g, '');
          var found = txt.split('ID0001');
          return found.length &gt; 1;
      });
  }).click();
  </code></pre>
  
  <p>Protractor is a framework based on Selenium made for angular js automated testing. Even a solution based on Selenium may work...</p>