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?
$scopevariable and let DataTables auto magically auto update as well. I have to feed it Javascript arrays. So my example is just a simple way of describing the problem. I need a way to fix my demo code so that the newly added rows also have AngularJS bindings.