Hi,

I have created the following Plunker 
<http://plnkr.co/edit/xZ8VEQlRnz97oHKpWiqa> to describe the problem I have. 
I have written a custom directive and pass a name via an attribute into it.

<my-directive name="start_date"></my-directive>

This name is then passed as a parameter into an input element defined in 
the directives template:

<p>
  <input name="{{name}}" />
</p>

When I review the DOM in the Web Developer Console or Firebug, it tells me 
this:

<my-directive name="Test" class="ng-isolate-scope">
  <p class="ng-binding">
    <input name="Test">
  </p>
</my-directive>

This tells me that the name has properly been taken into the directive. 
When I now try to access that name in the directives "link" function, it 
only returns "{{name}}", but not "Test".

Can you help me understand why that is and if I am able to access the 
parsed name "Test" somehow?

Thanks,
   Tobias.

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