-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Closed
Labels
good first issueLabel noting a good first issue to be worked on by a community memberLabel noting a good first issue to be worked on by a community memberopen for contributionsAn issue that is suitable for a community contributor (based on its complexity/scope).An issue that is suitable for a community contributor (based on its complexity/scope).state: has PR
Milestone
Description
Describe the problem that you experienced
In the tutorial shopping cart project's example code snippet,
@Injectable(), which should be above the export class CartService { ... }, is missing from the "Define a cart service" section.
Enter the URL of the topic with the problem
https://angular.io/start/start-data#define-a-cart-service
https://github.com/angular/angular/blob/3a60063a54d850c50ce962a8a39ce01cfee71398/aio/content/examples/getting-started/src/app/cart.service.ts
Describe what you were looking for in the documentation
No response
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
No response
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
I noticed that the example code doesn't have tag for @injectable() part. Thus, it doesn't appear in the code example snippet.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueLabel noting a good first issue to be worked on by a community memberLabel noting a good first issue to be worked on by a community memberopen for contributionsAn issue that is suitable for a community contributor (based on its complexity/scope).An issue that is suitable for a community contributor (based on its complexity/scope).state: has PR