title: Protractor - can't read property bind of undefined for EC.textToBePresentInElement
body: <p>My spec:</p>
  
  <pre><code>  it('displays user details page of an active user', function () {
          var userDetailsPage = new UserDetailsPage();
          var usersPage = new UsersPage();
          expectVisibilityOf(usersPage.thirdRow, 'element firstRow was not visible ');
          var positionUsersTableThirdRow = usersPage.thirdRowPosition.getText();
          var idUsersTableThirdRow = usersPage.thirdRowId.getText();
          var emailUsersTableThirdRow = usersPage.thirdRowEmail.getText();
          clickWithWait(usersPage.thirdRow);
          browser.wait(EC.elementToBeClickable(userDetailsPage.position.value), WAIT_TIMEOUT, 'element position was not clickable ');
          browser.wait(EC.elementToBeClickable(userDetailsPage.id), WAIT_TIMEOUT, 'element id was not clickable ');
          browser.wait(EC.elementToBeClickable(userDetailsPage.email), WAIT_TIMEOUT, 'element email was not clickable ');
  
          browser.wait(EC.textToBePresentInElement(userDetailsPage.position, positionUsersTableThirdRow), 5000);
          browser.wait(EC.textToBePresentInElement(userDetailsPage.id, idUsersTableThirdRow), 5000);
          browser.wait(EC.textToBePresentInElement(userDetailsPage.email, emailUsersTableThirdRow), 5000);
  
          //expect(userDetailsPage.position.value.getText()).toEqual(positionUsersTableThirdRow);
          //expect(userDetailsPage.id.getText()).toEqual(idUsersTableThirdRow);
          //expect(userDetailsPage.email.getText()).toEqual(emailUsersTableThirdRow);
      });
  </code></pre>
  
  <p>Problem is that test works fine when I am using         <code>expect(element.getText()).toEqual();</code>  (these commented ones) but for protractor ExpectedCondition it fails with message about undefined bind - <code>Failed: Cannot read property 'bind' of undefined</code>.
  What is the issue here ?</p>