0
comment
comment
on 6/9/2017 6:02 AM
How to declare a component in angular
Last week I explained what was the NgModule in angular, we saw what were the parameters we could add and what those parameters could be composed of.
Today I would like to talk about another main piece of Angular, the Component.
We will see what argument it takes and how we can use it.
1. Parameters
2. Input/Ouput
3. Access child component
4. NgOnChange
1.