title: Angular + Selenium: Cannot get value from input field
body: <p>I have written my tests in Protractor and I've used an expect statement:</p>
  
  <pre><code>loginPage.email.sendKeys( params.login.email );
  expect(loginPage.email.getText()).toEqual( params.login.email );
  </code></pre>
  
  <p>However, my test is failing because signUpPage.email.getText() is returning an empty string. I couldn't find what function to call in Selenium's documentation for input field to return the correct value?</p>
  
  <p>In my Protractor.conf file:</p>
  
  <pre><code> params: {
        login: {
          email: 'user@email.com',
          password: 'blahblah123'
        }
  </code></pre>
  
  <p>Error in Terminal:</p>
  
  <blockquote>
    <p>Expected '' to equal 'user@email.com'.</p>
  </blockquote>
  
  <p>So I'm trying to match that the input of the email field is the same as the email address I've sent through. Any suggestions how to do that in Selenium?</p>