I am using Dart, so no plunker. Code sample is :
https://github.com/wstrange/angular2_todo_dart/blob/component-test2/lib/todo_list.html


The thing is - that syntax does not make sense to me.

[foo]="bar"

Is for setting a *property* called foo, right?


There must be an example somewhere of iteration over a list of *components*
and then rendering those components in the list (not instantiating new
components...)

Or am I fundamentally missing the point of angular2?

I guess I can create yet another view component (lets call it
todo-item-view), and then inject my "todo-item" into that view:

<todo-item-view [todo-item]="todo"> ...

But that seems like extra boilerplate code for no good reason.





On Fri, Jun 19, 2015 at 4:27 AM Sander Elias <[email protected]> wrote:

> I don't have an working ng2 at hand right now.
> If you get the literal text "todo" then this makes sense to me:
> <todo-item [todo]="{{todo}}">...
>
> Is there an plunk with an working alpha27 already available?
>
> Regards
> Sander
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/mczJbncve28/unsubscribe.
> To unsubscribe from this group and all its topics, 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.
>

-- 
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.

Reply via email to