0 votes
in Angular by
What are the steps to use declaration elements?

1 Answer

0 votes
by

Below are the steps to be followed to use declaration elements.

  1. Create the element(component, directive and pipes) and export it from the file where you wrote it
  2. Import it into the appropriate module.
  3. Declare it in the @NgModule declarations array.
...