i have this table that uses data from a JSON file, how do i add a function that allows the user to enter data into text fields and add that data into the table?
this is a simple preview of what i have, it displays the data in the JSON in a table
<table>
<th> Name </th>
<th> ID </th>
<th> Job </th>
<tr *ngFor="let emp of employe">
<td>{{emp.empName}}</td>
<td>{{emp.empId}}</td>
<td>{{emp.empJob}}</td>
</tr>
</table>
Name: <input type="text">
ID: <input type="text">
Job: <input type="text">
<button> Add </button>
note: i don't want to add to the JSON file (i know it's not possible), just the table