Thank you very much. It was easier to find your message than read whole 
documentation and not forget some details )

On Thursday, 18 October 2012 08:33:37 UTC+4, Jay B wrote:
>
> After some searching, I found the fix to pass parameters to a delegated 
> function in a directive. I don't believe this is clearly explained / 
> documented, so hopefully this will help someone out.
>
> See this jsfiddle: http://jsfiddle.net/QM69A/9/ (note the information in 
> the console log).
>
> The problem was that I had to include a parameter name in the directive 
> tag (b-var="testFunc(*aParamName*)") and then call the delegate with an 
> object map containing key/value pairs of parameter names to data mappings 
> in the directive controller ($scope.bVar({aParamName: "a value"})).
>
> Here is the blog that helped me along the way 
> http://onehungrymind.com/angularjs-sticky-notes-pt-2-isolated-scope/ and 
> its associated jsfiddle: http://jsfiddle.net/simpulton/VJ94U/ .
>

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