Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alexzuza/814c4266919e39bf1908eabe6663b3fa to your computer and use it in GitHub Desktop.
Save alexzuza/814c4266919e39bf1908eabe6663b3fa to your computer and use it in GitHub Desktop.
<form #myForm="ngForm">
<div>
<label>Firstname:</label>
<input type="text" name="firstName" ngModel>
</div>
<div>
<label>Lastname:</label>
<input type="text" name="lastName" ngModel>
</div>
<address></address>
</form>
<pre>{{ myForm.value | json }}</pre>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment