how emberjs get form values in a object?
<p><strong><em>templates/module.hbs</em></strong></p>

<pre><code>&lt;form class="" method="post" {{ action "step1" on="submit"}}&gt;
{{input type="email" value=email}}
{{input type="checkbox" checked=permission}}
{{input type="submit" value="next"}}
&lt;/form&gt;
</code></pre>

<p>how can i reach email and checkbox value in a object (like model.email and model checkbox ) in Route </p>

<p><strong><em>routes/module.js</em></strong></p>

<pre><code>export default Ember.Route.extend({
model() {
    return this.store.createRecord('wizard');
},
actions: {
  step1(){
     alert(this.controller.get('model.email')); // returns undefined
     // get form values like model.email model.checkbox
  },
}
</code></pre>

<p><strong><em>models/wizard.js</em></strong></p>

<pre><code>export default DS.Model.extend({
  email: DS.attr('string'),
  permission: DS.attr('boolean')
});
</code></pre>

<p><strong>Update:</strong> [[ alerts returns undefined ]]</p>