Hi Sanders, Thanks heaps. Yes that clarifies it for me. Thanks you!

On Monday, 27 July 2015 14:13:32 UTC+10, Sander Elias wrote:
>
> Hi Al,
>
> There is a difference on how ‘=’ and ‘@’ work. The ‘=’ takes the 
> dom-string, and parses that against the parent scope. This is like writing 
> the following in your link function scope.$parent['monitor'] (don’t do 
> that!) What the ‘@’ is doing is something different. it interpolates the 
> dom-string. that means that it is using a different interpreter, and uses 
> the string as a template, where you can use one or more {{}}.
>
> in your case, if you would like to use the ‘@’ you have to put this in 
> your template:
>
> <div watch-man="{{variable}}"></div>
>
> Does that clarify it a bit for you?
> 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.

Reply via email to