Consider this example:
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-rc.4/angular.js"></script>
<script>
angular.module('app', [])
</script>
<div ng-app='app'>
<div ng-init="tags = ['i', 'b', 't']">
<div ng-repeat = 't in tags'>{{t}}</div>
</div>
</div>
This works as supposed, however I would like to be able to specify the element or attribute.
<div ng-init="tags = ['i', 'b', 't']">
<{{t}} ng-repeat = 't in tags'>{{t}}</{{t}}>
This doesn't work: Demo
How can I do this? I basicly want to build a html-structure (with my own directives) from json. Is it good or bad best practise to do this?