Question: how to set default selected value of dropdownlist in angular 2?
Answer: <select [(ngModel)]="searchModel.careprovider"> <option [value]="0">All Pateints</option> <option *ngFor="let user of practiceUsers" [value]="user._id.$oid"> {{user. ...  searchModel: any = { location: null, practice: null, name: '', careProvider: 0 };