Klik tombol mengirimkan formulir dalam sudut
// type button required otherwise it will submit the form
<button type="button" (click)="preview();">Preview</button>
Annoyed Alligator