Hi Trzczy,
Hmm, well, it might do what you expect. It is more angular then your
previous version.
Add this line to your template: ` <pre>{{content}}</pre>`, and do some
editing, and then some mouse movements over the element.I suspect it will
not do what you expect.
I can't figure out what you are trying to do? do you want to prefix it
visually (only for the view, don't modify the data), or do you want to
prefix the data itself?
Both is possible, and neither one will need a directive as complex as what
you have written. Or a directive at all.
Regards
Sander
--
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.