Your error says it so clearly that you are doing something wrong with {{m.name}}
. It is trying to add it as an attribute because you mention it inside the attribute
section which is invalid.
Move it to the content
section i.e between the opening and closing tags.
Change it this way :
<option *ngFor="let m for data" value="{{m.id}}">{{m.name}}</option>