Implementing Click To Load

This example demos a click to load UI for a table.

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.


  • After the last row of data, emit a single row/column with a colspan of the entire table, with a button in it.
  • That button has an ic-get-from attribute that loads the next page of data (including another button). The button targets the closest table row for replacement with the ic-target attribute, using the special closest syntax. Finally, because we want to replace the entire row with the new page of rows returned (rather than simply replacing the inner content of the row), the ic-replace-target is set to true


Name Email ID #
Agent Smithvoid0@null.orgD92B582CA8GDD94
Agent Smithvoid1@null.org4AEC9GF0F0A35G5
Agent Smithvoid2@null.org3G80BFBF490BBAF
Agent Smithvoid3@null.orgA4CB29F6G6D812D
Agent Smithvoid4@null.orgFDFEGE1580A78C0
Agent Smithvoid5@null.org96961373E447G6F
Agent Smithvoid6@null.org05EE57C9C2GD1B0
Agent Smithvoid7@null.org2G6BC043G9F12BD
Agent Smithvoid8@null.org2G6BC043G9F12BD
Agent Smithvoid9@null.org3C8D2157F4B854F