>From >https://angular.io/docs/ts/latest/cookbook/component-communication.html#!#child-to-parent
I am so surprised to realise that property name on both parent/child must be the same??? Otherwise it won't work, why? do you realise that? 1. <my-voter *ngFor="let voter of voters" 2. [name]="voter" 3. * (onVoted)="onVoted($event)">* 4. </my-voter> -- 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.
