Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need Simplified Explanation | Services and Dependency Injection | Explanation #54880

Closed
ChaitanyaBabar opened this issue Mar 15, 2024 · 3 comments
Labels
area: docs Related to the documentation
Milestone

Comments

@ChaitanyaBabar
Copy link

Describe the problem that you experienced

I guess below related to documentation of Services and dependency injection, can be more simplified, to avoid confusion.

Currently Docs Says as Follows :-

Dependency injection (DI) lets you keep your component classes lean and efficient. They don't fetch data from the server, validate user input, or log directly to the console; they delegate such tasks to services.

It Should Have Been :-

Dependency injection (DI) lets you keep your component classes lean and efficient. They delegate tasks like fetching data from the server, validating user input, or log directly to the console to services.

Enter the URL of the topic with the problem

https://angular.io/guide/architecture#services-and-dependency-injection

Describe what you were looking for in the documentation

Services and dependency injection

I was having quick look at brief Introduction to Angular Concepts, and I got confused by below wording,

Dependency injection (DI) lets you keep your component classes lean and efficient. They don't fetch data from the server, validate user input, or log directly to the console; they delegate such tasks to services.

(i.e. especially " don't fetch data from the server,")

Since I have been working on angular for quite a long , I got the gist of it but I still feel it can be put in more simpler words to
avoid confusion for new bees.

Describe the actions that led you to experience the problem

No response

Describe what you want to experience that would fix the problem

No response

Add a screenshot if that helps illustrate the problem

image

If this problem caused an exception or error, please paste it here

No response

If the problem is browser-specific, please specify the device, OS, browser, and version

No response

Provide any additional information here in as much as detail as you can

No response

@JeanMeche
Copy link
Member

JeanMeche commented Mar 15, 2024

Hi, angular.io is now in maintenance mode and won't receive major content updates.
Can you have a look at the new doc site https://angular.dev and tell us if the docs are seem more correct to you ? Thank you.

@dylhunn dylhunn added the area: docs Related to the documentation label Mar 27, 2024
@ngbot ngbot bot added this to the needsTriage milestone Mar 27, 2024
@twerske
Copy link
Contributor

twerske commented Mar 27, 2024

Closing as this is not a part of adev and AIO is being removed! Please reopen against Angular.dev if you feel the issue is present there too!

@twerske twerske closed this as completed Mar 27, 2024
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Apr 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: docs Related to the documentation
Projects
None yet
Development

No branches or pull requests

4 participants