How to add dynamic row to a table using angularjs
问题 Like jQuery, How can I add dynamic rows to a table with form elements in a button click using angularjs and How to differentiate these form elements like array name in normal jquery submit. <tr> <td style="text-align:center">1</td> <td> <input type="text" class="form-control" required ng-model="newItem.assets"> </td> <td> <select ng-model="newItem.type" class="form-control"> <option value="Rent" ng-selected="'Rent'">Rent</option> <option value="Lease">Lease</option> </select> </td> <td>