How to submit form to server in Angular2?
<p>Now the submission has been caught by angular2 even with action= in the &lt;form&gt;.</p>

<p>demo link: <a href="http://plnkr.co/edit/4wpTwN0iCPeublhNumT5?p=preview">http://plnkr.co/edit/4wpTwN0iCPeublhNumT5?p=preview</a> </p>

<pre><code>//our root app component
import {Component} from 'angular2/core'

@Component({
  selector: 'my-app',
  providers: [],
  template: `
    &lt;div&gt;
      &lt;h2&gt;Hello {{name}}&lt;/h2&gt;
      &lt;form action="https://www.google.com" target="_blank" method="POST"&gt;
        &lt;input name="q" value="test"&gt;
        &lt;button type="submit"&gt;Search&lt;/button&gt;
      &lt;/form&gt;
    &lt;/div&gt;
  `,
  directives: []
})
export class App {
  constructor() {
    this.name = 'Angular2'
  }
}
</code></pre>