Thread with 2 posts
jump to expanded postAngular question
Aaaah I never get how the let-item thing without explicitly binding it works in angular templates!
Like, <ng-template #tpl let-myName="name"> I get - it'll pick up `name` and my template has an `myName`.
But if I <ng-template #tpl let-name>, I always think it should just pick up `name` and put it to a local `name` - but it kinda sorta sometimes works, but mostly not. What am I missing?
#angular
Angular question
Do I always have to put $implicit in context? I mean, I don't in an ng-for, and it works. But otherwise not, aaah.