I'm generating an HTML table which renders like this:
<table id="#webappname">
<tr ng-repeat="data in d">
<td>1 {{data}}</td>
<td>2 hey !</td>
</tr>
</table>
To generate this i'm using angular.element("#webapp").append("<table [...]</table>");
I would want the angular js template in the table to be interpreted by Angular (a little bit like jQuery.live()). What should I use ?
ng-includewith template snippets instead? It's just that, I believe, that hand-writing basic HTML like this isn't best practice.