Shared Module Issue?


#1

Hi,

Can anyone help with the below,

Error: Type MyAvatar is part of the declarations of 2 modules: AppModule and MyDashboardModule! Please consider moving MyAvatar to a higher module that imports AppModule and MyDashboardModule. You can also create a new NgModule that exports and includes MyAvatar then import that NgModule in AppModule and MyDashboardModule

Is it possible to create a higher module than AppModule?

Thanks