Hi Mike, I want to elaborate my last couple of msgs. Just to make sure I don't pass my own confusion along. There are a couple of ways to get to the children inside of a component. Fetching both components, but also any plain elements is possible. You can look up the exact details of this in the docs. However, when to use viewChildren and when to use contentChildren? The view is the template you provided to the template(url) The content is the user-provided content. (if you are familiar with NG1 transcluded content) that means if you components uses ng-content the stuff that comes inside the ng-content(s) is available as contentChild(ren)
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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
