I am new to angular js and I have achieved this functionality using jquery code and now I want it to get converted to angularjs code
$("#addRow").click(function () {
$("#myTable").each(function () {
var tds = '<tr>';
jQuery.each($('tr:last td', this), function () {
tds += '<td contenteditable="true"></td>';
});
tds += '</tr>';
$('tbody', this).append(tds);
});
});
ng-repeat="item in items"in your view to construct your table rows,itemsbeing an array in your controller. Then to add a new table row, you would simply add a row in your controller array. You have several examples in SO for that, for example in this post