view source
ViewChildren and ContentChildren in Angular 2
In this article I'm going to explain the difference between the concepts of view children and content children in Angular 2. We will take a look at how we can pass access these two different kinds of children from their parent component. Along the content we are also going to mention what the difference between the properties providers and viewProviders of the @Component decorator is.
Advertisement