Angular依赖注入:类“AnotherProductService”错误实现类“ProductService”。你是想扩展“ProductService”并将其成员作为子类继承吗?

前端之家收集整理的这篇文章主要介绍了Angular依赖注入:类“AnotherProductService”错误实现类“ProductService”。你是想扩展“ProductService”并将其成员作为子类继承吗?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

在做Angular依赖注入实例时候出现一个问题“类“AnotherProductService”错误实现类“ProductService”。你是想扩展“ProductService”并将其成员作为子类继承吗?”
于是找到解决本问题的方法,由于小编刚入门所以不能给大家提供更多的解释,只提出解决方法

1.loggerService


2.ProductService


3.AnotherProductService


4.Appmodule_providers

原文链接:https://www.f2er.com/angularjs/144724.html

猜你在找的Angularjs相关文章