What are the steps to use declaration elements?
Below are the steps to be followed to use declaration elements.
- Create the element(component, directive and pipes) and export it from the file where you wrote it
- Import it into the appropriate module.
- Declare it in the @NgModule declarations array.
June 13, 2022