Hi Santino, Ah, the *. the star means it is an template directive. here is a sample taken from Victor's blog:
Say we render a list of todo components. <todo-cmp *ng-for="#t of todos; #i=index" [model]="t" [index]="t"></todo-cmp> This de-sugars it into <todo-cmp template="ng-for #item of items; #i=index" [model]="t" [index]="i"></todo-cmp> which de-sugars into <template ng-for #item="$implicit" [ng-for-of]="items" #i="index"> <todo-cmp [model]="t" [index]="t"></todo-cmp></template> You can use any of the 3 above syntax's to do exactly the same thing. Its a matter of preference. I know mine, that will be writing *'s! But if you really dislike the *xxx syntax, you can use one of the others. 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 http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
