├── src
│ ├── app
│ │ ├── core
│ │ │ ├── services
│ │ │ ├── core.module.ts
│ │ ├── shared
│ │ │ ├── produt-form
│ │ │ │ ├── product-form.component.ts|html|css
│ │ │ │ ├── product-form.service.ts
│ │ │ │
I have created two modules named core and shared. Within the shared module, I have a component called product-form, which includes a corresponding service called product-form.service. This service is specifically designed to handle form data for the product-form component. As a beginner in Angular, I am uncertain whether it would be best practice to keep the product-form.service within the product-form component structure as shown above, or if it should be placed in the core module's services folder.
I appreciate any advice. Thank you!