Pushing Form Data Into Fire base
Pushing Form Data Into Fire base 1. Form Creation 2. Pushing Form Data into data base. 1. Form Creation in Angular 1. Create Form Component Command : ng generate component templateForms --spec=false The above command generate's following file's 1. template-forms.component.html 2. template-forms.component.ts 3. template-forms.component.css Create one more file in the same folder as model file 4. template-forms.model.ts Now in the model file do the following export class LoginForm { emailVal: string; passwordVal: string; } Description 1. In this model we are using 2 form input's which we need to send as a request 2. In model we define name of model and type of model if we don't have default Values. In template-forms. component.ts do the following <form #loginForm="ngForm" (ngSubmit)="login(loginForm)"> Email <br> <i...