title: emberjs get all form fields / values at once
body: <p>When creating new form fields in ember.js, it seems as though there's a multi-step process.  For example, I create the form fields:</p>
  
  <pre><code>{{input value=email type="email" placeholder="Email" required="required"}}
  {{input value=password type="password" placeholder="Password" required="required"}}
  </code></pre>
  
  <p>then in my controller I have this:</p>
  
  <pre><code>App.AccountController = Ember.ObjectController.extend({
      email: null,
      password: null,
      actions: {
        login: function() {
          var data = this.getProperties("email", "password");
  
              console.log(data);
        }
      }
  });
  </code></pre>
  
  <p>As you can see, email and password are defined as null at the top, and then again in the data var to get the 'values' when the user fills in the fields.</p>
  
  <p>Is there a way around this, where I can simply say... take all Values in the form field, assign to null and then get all form field values in one line?  Similar maybe to serialize form in jQuery?</p>