This example demos a delete button that removes a table row upon completion. A confirmation popup is specified at the tbody level, so all buttons share the same confirmation message.
Note that the "server side" implementation is mocked out using mockjax, so you can see the entire implementation. Click the "Source Code" tab to see the code.
ic-delete-fromattribute set up to delete the row from the server
closest trand causes a confirmation message with an
ic-confirmattribute. The delete buttons in the table inherit these attributes.
true, which tells intercooler to remove the target (in this case, the closest row.)