I'm using AngularJS and DataTables. This all works fine untill I dynamically add rows the Datatable. Then I lose the Angular bindings on each new row in the table.
How can I rebind those bindings?
If you take a look at this demo: http://plnkr.co/edit/zXh4UbJvYwZsRtsuTnLw?p=preview
Then you can press on both href
links and you'll see a message appear in console.
If you then press on the "ADD" button then two new rows are added. Those two new rows can't call the msg()
function anymore.
Anyone any idea how to fix this problem?