Hello, I'm looking for an official position on accessing component's private variables/methods from template. I am using TypeScript and it works, but is it conceptually correct way of doing things?
The only thing I found on the matter is this question on SO: http://stackoverflow.com/q/34574167/1377864. I completely agree with what drewmoore said, but Günter Zöchbauer also made good point about Dart and Dart is officially supported by Angular 2... So now I'm not sure. My original motivation is to open issue for WebStorm, that component's private variables/methods used only inside templates are reported as unused variables, but I would probably need some proof, that accessing private variables inside template is an intended behaviour and not a coincidence. Any thoughts? Best regards, Yaroslav. -- 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.
