On 18/03/15 03:24, Sander Elias wrote:
> Without a plunk I’m not too sure, however, if you really need the exact
> text from the attribute, you can do something like
> |$element[0].getAttribute('prefix')| in your directive and be done with it.

This works nicely, Sander -- thank you!  Have to confess, though, that
the purist in me would still like to know the Angular way of achieving
this; plus, it would be a good lesson.  Do you have any ideas as to how
it might be possible to instruct Angular to not do the trimming?

-- 
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