I have a directive that creates a bunch of similar widgets. Each widget houses and different directive. Here is the template that I use to create my widget:
template: '<li><div {{widgetModel.directiveName}}></div></li>'
I am wanting the variables to be reconciled and or the template to declare the directive that needs to be used. The template will then be:
template: '<li><div directive-name></div></li>'
I then want it to act as a normal directive with an attribute name of directiveName. This is not happening with the current code and I do not know how to make it behave like I need. The directiveName directive can really be anything.