FrontendDeveloper.in

Angular question detail

What are the steps to use declaration elements?

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.
Back to all Angular questions
Get LinkedIn Premium at Rs 399