Hi Jon,
Don’t try to use the DOM as a source of data, that’s still old school
thinking. If you need some.expression data in your directive, put it in
directly,
like
<div my-directive=s"some.expression">
{{ other.stuff }} {{ some.expression.repeated }}
</div>
you can then read it in you link function like this:
function (scope,elm,attr) {
var thingIneed = attr.myDirective;
}
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.