pipe/@Directive/@Component%20annotation.Error: Unexpected value 'AuthenticationService' declared by the module 'DynamicTestModule'. Please add a Pipe/@Directive/@Component annotation. code example
Example 1: Unexpected value 'BrowserAnimationsModule' declared by the module 'AppModule'.
Unexpected value 'BrowserAnimationsModule' declared by the module
Example 2: Please add a @Pipe/@Directive/@Component annotation.
import { SharedModule } from './modules/shared/shared.module';
@NgModule({
declarations: [
],
imports: [
SharedModule
],