title: Protractor: Get the text of an anchor which contains several I tags
body: <p>In a test case I would like to compare the text of an anchor with an expected one, but the anchor also contains i tags. Does anybody have a hint on how to do it?</p>
  
  <p>E.g. (how to get the name of the selected language):</p>
  
  <pre><code>&lt;a class="dropdown-button btn" href="#" data-activates="languageDropdown"&gt;
      &lt;i class="material-icons"&gt;language&lt;/i&gt;
      {{selectedLanguage.name}}
      &lt;i class="material-icons"&gt;arrow_drop_down&lt;/i&gt;
  &lt;/a&gt;
  </code></pre>