angular error
ERROR Error: Uncaught (in promise): Error: Unexpected module 'B' declared by the module 'A'. Please add a @Pipe/@Directive/@Component annotation.
When introducing (Import) in a "module A" while another file "Module B", is introduced into the module needs to be added to the modified @ngModule currently imports this module in the field, if applied to the
declarations, it would report the above error.