what is the difference between imports declarations and providers?
Declarations are used to make directives. Providers are used to make services. Used to declare components, directives, pipes that belongs to the current module. Used to inject the services required by components, directives, pipes in our module.