how to click only one time button in angular for submit form code example
Example: click on button submitting the form in angular
// type button required otherwise it will submit the form
<button type="button" (click)="preview();">Preview</button>