Angular question detail
What are the possible errors with declarations?
There are two common possible errors with declarations array,
- If you use a component without declaring it, Angular returns an error message.
- If you try to declare the same class in more than one module then compiler emits an error.