title: AngularJS Protractor - Finding an Element on a Page Using Ng-Click Binding
body: <p>I have a button on a page that looks like:</p>
  
  <pre><code>&lt;button ng-click="myFunction()" ng-show="flag"&gt;
      Submit
  &lt;/button&gt;
  </code></pre>
  
  <p>The element has no ID.  </p>
  
  <p>Is there a way to find this element using the function bound to Ng-Click?  Or do I have to assign an ID to this element to locate it using Jasmine / Protractor?</p>