title: protractor : unable to click the button
body: <p>Im new to protractor e2e testing.
  Writing jasmine test cases using protractor.
  I have two buttons in a html file. I want to select the specific button(button in begin.html file)</p>
  
  <p>These did not work</p>
  
  <p><code>element(by.id('gotest')).click();</code></p>
  
  <p><code>by.linkUiSref('about-you');</code> </p>
  
  <p>performing some event on the button should navigate to next page(about-you)</p>
  
  <p>Please help me</p>
  
  <p><strong>Text.html</strong></p>
  
  <pre><code>&lt;div class="button"&gt;
      &lt;a ui-sref="begin"&gt;
          &lt;button class="green"&gt;Text&lt;/button&gt;
      &lt;/a&gt;
  &lt;/div&gt;
  
  &lt;ng-include src="'../begin.html'" class="hidden"&gt;&lt;/ng-include&gt;
  </code></pre>
  
  <p><strong>begin.html</strong></p>
  
  <pre><code>&lt;div class="button"&gt;
      &lt;button class="green" id="gotest" ui-sref="about-you"&gt;Start&lt;/button&gt;
  &lt;/div&gt; 
  </code></pre>