Winkel 2 ausgewählte option auf Zustand

Ich habe eine select:

  <select id="position">
    <option *ngFor='#contactType of contactTypes' [attr.value]='contactType.contactTypeId'>
      {{contactType.description}}
    </option>
  </select>

Ich würde gern einen ausgewählten option zu, unter der Bedingung: 'contacttype ab.contactTypeId == Anzahl' ohne Verwendung ngModel

InformationsquelleAutor mishap | 2016-04-20
Schreibe einen Kommentar