<select [(ngModel)]="country" (change)="stateList = getStateList(country)">
<option *ngFor="let c of countryList" [value]="c.Country.CountryID"></option>
</select>
Here in (ngModelChange) I want to assign the value returned from getStateList() to a varible, but it just calls the function and the return value is not bound to the variable.