Question: what is ngsubmit in angular 2?
Answer: ngSubmit ensures that the form doesn't submit when the handler code throws and causes an actual http post request. from https://blog.thoughtram.io/angular/2016/03/21/template-driven-forms-in-angular-2.html.