Joined June 2015
·

Sérgio Toledo
São Paulo Area, Brazil
·
Posted to
Angular - Directives: using a dynamic template
over 1 year
ago
I didn't understand your point. What do I have to change?
Posted to
Angular - Directives: using a dynamic template
over 1 year
ago
Hi, and thanks for the post.
I used your code to get dynamic template but I am getting an error despite the code is working.
Do you know what it is?
Error:
At Chrome = TypeError: undefined is not a function at forEach.attr
At Firefox = Error: element.setAttribute is not a function
You can see more datails on: http://stackoverflow.com/questions/30668661/angular-directive-with-dynamic-template
OK gsans, I'll make other tests. Thank you for your help.