This code sample demonstrates how Angular template-driven forms and reactive forms can be created and used.
-
Install the Angular CLI:
npm install -g @angular/cli
-
Run
npm install
to install app dependencies -
Run
ng serve -o
to start the server and launch the app