Search Posts

Category: html-table

Remove a row on ng-click using angularJs

I have a table with the default empty row(Row further includes a columns with different functionalities).Dynamically a multiple rows can be added by click of a button as per the requirement.i want to remove a row when i click a remove-icon from the same-row(remove-icon included in one of the column). <td class=”text-right”> <a href=”” class=”remove-service” ng-click=”vm.removeService(service,true)”> <img src=”images/delete.png”></a> &ensp;</td> i have a above column to be included in all rows.whenever i click on remove-icon from […]