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

Commit f28f283

Browse files
davedxpkozlowski-opensource
authored andcommittedNov 17, 2012
docs(guide/concepts): some typo/grammar fixes
1 parent e362a51 commit f28f283

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎docs/content/guide/concepts.ngdoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ in HTML.
339339

340340
{@link api/ng.$filter Filters} perform data transformation roles. Typically
341341
they are used in conjunction with the locale to format the data in locale specific output.
342-
They are follow the spirit of UNIX filters and follow similar syntax `|` (pipe).
342+
They follow the spirit of UNIX filters and use similar syntax `|` (pipe).
343343

344344
<example>
345345
<file name="index.html">
@@ -362,7 +362,7 @@ An {@link api/AUTO.$injector injector} is a service locator. There is a single
362362
{@link api/AUTO.$injector injector} per Angular {@link
363363
api/ng.directive:ngApp application}. The {@link
364364
api/AUTO.$injector injector} provides a way to look up an object instance by its
365-
name. The injector keeps on internal cache of all objects so that repeated calls to get the same
365+
name. The injector keeps an internal cache of all objects so that repeated calls to get the same
366366
object name result in the same instance. If the object does not exist, then the {@link
367367
api/AUTO.$injector injector} asks the instance factory to create a new instance.
368368

@@ -395,7 +395,7 @@ as a {@link api/AUTO.$provide provider}.
395395
But the real magic of the {@link api/AUTO.$injector injector} is that it can be
396396
used to {@link api/AUTO.$injector#invoke call} methods and {@link
397397
api/AUTO.$injector#instantiate instantiate} types. This subtle feature is what
398-
allows the methods and types to ask for their dependencies rather then to look for them.
398+
allows the methods and types to ask for their dependencies instead of having to look for them.
399399

400400
<pre>
401401
// You write functions such as this one.
@@ -425,7 +425,7 @@ function arguments. When angular calls the function, it will use the {@link
425425
api/AUTO.$injector#invoke call} which will automatically fill the function
426426
arguments.
427427

428-
Examine the `ClockCtrl` bellow, and notice how it list the dependencies in constructor. When the
428+
Examine the `ClockCtrl` bellow, and notice how it lists the dependencies in the constructor. When the
429429
{@link api/ng.directive:ngController ng-controller} instantiates
430430
the controller it automatically provides the dependencies. There is no need to create
431431
dependencies, look for dependencies, or even get a reference to the injector.

0 commit comments

Comments
 (0)
This repository has been archived.