http://jsfiddle.net/UYbL9/
This really lays bare that this directive is just a wrapper for input ng-model. You should consider the ng-namespace reserved and not for your use, so I have changed it to my-model. If you're going to add additional behavior to the directive then this makes sense, but otherwise <input ng-model /> would require less indirection. On Thu, Feb 6, 2014 at 11:05 AM, AngularNutCase <[email protected] > wrote: > Thanks Chris. Your post came in while I was answering Sander. I will now > try to lose the "link" function and see if I can do it using template: > instead, as you have suggested. > > I think the difficulty is that we have "record" and "colname" variables, > and I don't really understand how it all hangs together. I'm new to this > and just learning Angular > > > > > On Thursday, February 6, 2014 3:56:43 PM UTC, Chris Rhoden wrote: > >> I am having a hard time understanding what you're looking to do. >> chrisrhoden >> > -- > 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. > -- chrisrhoden -- 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.
