Select, the problem of using ngModel in Option elements

as shown in the code below, I want the Select element to take the value attribute value of the obj object and the H1 element content to take the name attribute value. How should I write it?

<h1> {{ ??? }} </h1>
<select [(ngModel)]="???">
    <option *ngFor="obj of arrayOfObj" [value]="obj.value" name="test">{{obj.name}}</option>
</select>
arrayOfObj = [
{ name: "a", value = "1" },
{ name: "b", value = "2" }
]
Apr.15,2022

just replace your question mark with a variable

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bdc05e-30a40.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bdc05e-30a40.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?