Here's another question, why can't I insert with {{ }} into an element
without inserting an attribute:
http://plnkr.co/edit/qfQoEv
If line 21 (app.js) is:
" {{data.updateString}} " +
It inserts "{{data.updateString}}"
If line 21 is:
" attr=\"{{data.updateString}}\" " +
It inserts
attr=''data-ng-changed='myfunction();'"
Synopsis: I want to be able to insert an attribute into a partial based
upon a conditional.
--
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.