title: Protractor: TypeError: Cannot call method 'click' of undefined
body: <p>Currently having an issue trying to figure out why the following element is throwing the error "TypeError: Cannot call method 'click' of undefined" when it is trying to be clicked.</p>
  
  <pre><code>browser.driver.sleep(2000);
  
  // Undefined, figure out why it cant get a hold of this
  expect(element.all(by.css('[ng-value="account.id"]')).get(0).isPresent()).toBe(true);
  
  element.all(by.css('[ng-value="account.id"]')).get(0).then(function (elm) {
      browser.driver.sleep(1000);
      elm[0].click();
  });
  </code></pre>
  
  <p>The elements being looked at are below (There are multiple which is why I am calling ".get(0)" to just look at the first radio button in the set of them):</p>
  
  <pre><code>&lt;div class="row row-center" style="height: 85%;"&gt;
         &lt;div class="col"&gt;
           &lt;div class="list card" ng-if="accounts != null"&gt;
              &lt;div class-="list"&gt;
                  &lt;label class="item item-radio"
                         ng-repeat="account in accounts" ng-if="account.clippable &amp;&amp; account.fundable"&gt;
                      &lt;input type="radio"
                             ng-model="accountConnection.id"
                             ng-value="account.id" &gt;
                      &lt;div class="item-content"&gt;
                          {{ account.meta.name }} ({{ account.meta.number }})
                          &lt;p&gt;${{ account.balance.current }}&lt;/p&gt;
  
                      &lt;/div&gt;
                      &lt;i class="radio-icon ion-checkmark"&gt;&lt;/i&gt;
                  &lt;/label&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>