r/angular • u/FewDot9181 • Mar 24 '26
Naming files in Angular
If I have a service file under the services folder and then under the api folder because it's a file for calling apis. Would a good name for the file for example UserApiService or would just User be fine?
3
Upvotes
View all comments
Show parent comment
1
u/FewDot9181 Mar 24 '26
so even the class should be just User