Angular: Empty Fiddle
http://angularjs.org/
HTML
<script type="text/ng-template" id="mytemplate">
<tr>
<td>Stuff</td>
</tr>
</script>
<table>
<tr addcontent></tr>
</table>
JavaScript
var myApp = angular.module('myApp',[]);
myApp.directive('addcontent', function() {
return {
replace: true,
templateUrl: 'mytemplate'
};
});