title: Click into an icon isn't working on protractor
body: <p>I have an icon to add a new item, i want to click into it but the action isn't done. I don't know if i'm locating the element in a right way ?</p>
  <p>I have tried the answer provided in that <a href="https://stackoverflow.com/questions/31586911/how-to-click-on-calendar-icon-using-class-in-angular-protractor">Question</a> :</p>
  <pre><code>element(by.css('[ng-click=&quot;createWL()&quot;]')).click();
  
  element(by.css(&quot;button[ng-click*=createWL]&quot;)).click();
  </code></pre>
  <p>But it didn't work for me.</p>
  <p>Here my html code : <code>&lt;button class=&quot;md-icon-button watchlist-icon-button md-button md-ink-ripple&quot; type=&quot;button&quot; ng-transclude=&quot;&quot; id=&quot;addWL&quot; aria-label=&quot;Add Watchlist&quot; ng-click=&quot;createWL()&quot;&gt; &lt;ng-md-icon icon=&quot;add_circle_outline&quot; class=&quot;ng-scope&quot;&gt;</code></p>