Follow these instructions:
- Create a new app named PageComponent using the blank template, as shown in the following code block and go to the PageComponent folder:
$ ionic start PageComponent blank$ cd PageComponent
- Open the ./src/app/pages/home/home.html file and replace the content with the following code:
<ion-header> <ion-navbar> <ion-title> Ionic Blank </ion-title> </ion-navbar></ion-header><ion-content padding> <ion-list> <ion-item> <ion-label fixed>Name</ion-label> <ion-input type="text" value="" [(ngModel)]="user.name"> </ion-input> </ion-item> <ion-item> <ion-label fixed>Email</ion-label> <ion-input type="text" [(ngModel)]="user.email"> </ion-input> </ion-item> <ion-item> <ion-label fixed>Phone</ion-label> <ion-input ...