Can't bind existing selected value in ion-option


I’ve two functionalities, i.e., to add project and to edit the project.

After adding the project, if I want to edit it means, I need to get all the existing data in the form. I’m using template driven form.

      <ion-label floating >Project Type*</ion-label>
      <ion-select required  #refProjType="ngModel" class="form-control"  name="generalMasterProjectType" ngModel >
        <ion-option *ngFor="let projecttype of projtype" [value]="projecttype.gmId" selected=" projdetail.projectType == projecttype.gmName "  >{{projecttype.gmName}} </ion-option>

Kindly assist me how to do