Hi Marc,

The documentation is correct. However, you missed a crucial point.
When you create your directive as an ATTRIBUTE, this is possible. However, 
if you create your directory as an ELEMENT, you need this:
<my-customer customer="naomi"></my-customer>

You can’t put values on a html-element like you did in your last sample. 
The browser won’t parse it, so it is unavailable for angular too.

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/groups/opt_out.

Reply via email to