Thanks Sander! re: *_.bindAll()* Yup. Simple local capture variable for *this* context is all that's needed. *duh!*
re: *&attr* binding API: I feel like I have been misusing this interface for years! Perhaps fell into "ng expression != javascript proper" trap. Extended your plunk some for my own understanding: Updated Plunk <https://plnkr.co/edit/XtegWh> Do have some new Q's for anyone/everyone (reproduced in plunk comments). Its been my observation that since 1.5, some "conventions" now seem to core ✔: - 'vm' => $ctrl ✔ - constructor => #$onInit() ✔ - var self = this (or that, _this ... whatever convention) Specifically re: *$onInit()*, am wondering if it is advisable to use _all_ the time for consistency's sake or what rules of thumb the community is latching on to. Thanks in advance, -danny On Thursday, March 3, 2016 at 12:47:52 AM UTC-6, Sander Elias wrote: > > Hi Danny, > > I have gone over your plunk a <https://plnkr.co/edit/3ZNLQZ?p=preview>nd > removed all the things that did not anything but complexity. I put in some > comment on what and why I did remove some things. > > You probably have some follow-up questions, don't hesitate to ask them! > > 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
