pass variable value input field angular code example
Example: sending value in input angular material
<input matInput type="text" name="todo" #todo placeholder="Enter a todo">
<input matInput type="text" name="todo" #todo placeholder="Enter a todo">