-
Notifications
You must be signed in to change notification settings - Fork 3
Forms
NADEEM AKHTAR (FULL STACK DEVELOPER) edited this page Sep 30, 2016
·
10 revisions
There are two ways to build forms in Angular 2, namely template-driven and model-driven.
It depends. If you are not doing unit testing (of course you should!), or you have simple form, go ahead with template-driven forms.
We will build a Login form to capture user login data based on ## Login Model class that exist in path "core/models/login" & account.service Service class that exist in "core/services/account.service".
For more information visit https://angular.io/docs/ts/latest/guide/forms.html