📜  在 Angular 8 中提供服务 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:39.682000             🧑  作者: Mango

代码示例2
For Creating Service you have type command like below
ng generate service service-name
or
ng g s service-name

And if you want to make service into folder
ng generate service /folder-name/service-name
or
ng g s /folder-name/service-name