What happens if browserModule used in feature module?
If you do import BrowserModule
into a lazy loaded feature module, Angular returns an error telling you to use CommonModule
instead. Because BrowserModule’s providers are for the entire app so it should only be in the root module, not in feature module. Whereas Feature modules only need the common directives in CommonModule.
June 11, 2022
246
Read more
What is Angular Framework?
November 04, 2022
AngularWhat is a Angular module?
November 03, 2022
AngularWhat are the steps to use animation module?
October 31, 2022
Angular