enter image description here这是代码的结构。我正在尝试将视频播放器组件添加到我的课程组件中。 然后我得到例外。
错误错误:未捕获(承诺):错误:StaticInjectorError(AppModule)[VideoPlayerComponent-> Modal $$ 1]: StaticInjectorError(平台:核心)[VideoPlayerComponent-> Modal $$ 1]: NullInjectorError:没有用于Modal $$ 1的提供程序! 错误:StaticInjectorError(AppModule)[VideoPlayerComponent-> Modal $$ 1]: StaticInjectorError(平台:核心)[VideoPlayerComponent-> Modal $$ 1]: