Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

fixed typo #4112

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ above). You can also create your own custom services.

## Using a Service

To use an Angular service, you identify it as a dependency for the component (controller, service,
To use an Angular service, you identify it as a dependency for the componentt (controller, service,
filter or directive) that depends on the service. Angular's dependency injection subsystem takes
care of the rest. The Angular injector subsystem is in charge of service instantiation, resolution
of dependencies, and provision of dependencies to components as requested.
Expand All @@ -35,7 +35,7 @@ Or by providing an "inline" injection annotation:

## Defining a Service

Application developers are free to define their own services by registering a their name, and **service
Application developers are free to define their own services by registering their name, and **service
factory function**, in Angular modules.

The purpose of the **service factory function** is to generate the single object, or function, that
Expand Down