Using Template-Driven Forms in Angular
Building small scale forms using Angular’s Forms Module
This demo is not aimed to make use of routing but is to show how one can create a form, bind to a component in order to have synchronized data that can be read and passed along. The steps are creating angular application, creating a model, creating a component to render a form, build form to submit new model instance.
Open a terminal, navigate to path, use the following angular command and make appropriate selections.