i meant:
<{{ htmlTag.tag }} class="{{ htmlTag.class }}"></{{ htmlTag.tag }}>

Sorry...

Am Donnerstag, 11. Dezember 2014 18:23:48 UTC+1 schrieb 
[email protected]:
>
> Hello,
>
> Say, I have a scope object like this : 
>
> scope.htmlTag = {
>    tag : "textarea"
>    class : "foo bar"
> }
>
> and now I would like angular to create a html object for me like this:
>
> <textarea class="{{ htmlTag.class }}"></textarea>
>
> This is not working (logical...):
> <{{ htmlTag }} class="{{ htmlTag.class }}"></{{ htmlTag }}>
>
> How do I do this?
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to