title: protractor getText returns empty string for non-empty element
body: <p>I have issues getting the text from an element in protractor. For other elements of the page it works as expected, just not for this one :/</p>
  
  <pre><code>&lt;p class="error theme-info-i ng-binding ng-scope" ng-if="firstFormError &amp;&amp; form.$invalid" ng-click="goToErrorField(firstFormError)"&gt;
    &lt;span class="emphasize ng-binding"&gt;User ID&lt;/span&gt; (The user ID is required.)
  &lt;/p&gt;
  </code></pre>
  
  <p>I can locate both elements without problems using by.className, and getInnerHtml/getOuterHtml works as expected. However getText returns an empty string for both.</p>