Ahhhhh, I see what I was missing. I was doing it in the curly braces. So I can pass an argument in an attribute, but not in curly braces?
On Thu, Mar 6, 2014 at 4:24 PM, Orlando Cardoso <[email protected]>wrote: > Sure.. not sure why it isn't working for you, but here's a plunker that > does: http://plnkr.co/edit/9qE4UOskiQIZDkDSQHxQ > > > > On Thursday, March 6, 2014 12:52:18 PM UTC-8, John McPeek wrote: >> >> Hi, >> I want to pass a scope variable to a function call i.e <div >> ng-click="doIt( importantInfo )">. The function doIt(importantInfo) gets >> called but the argument is undefined. Is it possible to pass arguments in >> an angular expression like that? >> >> Thanks, >> >> John >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "AngularJS" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/qRrpsYCIrGA/unsubscribe. > To unsubscribe from this group and all its topics, 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. > -- 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.
