@@ -339,7 +339,7 @@ in HTML.
339
339
340
340
{@link api/ng.$filter Filters} perform data transformation roles. Typically
341
341
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).
343
343
344
344
<example>
345
345
<file name="index.html">
@@ -362,7 +362,7 @@ An {@link api/AUTO.$injector injector} is a service locator. There is a single
362
362
{@link api/AUTO.$injector injector} per Angular {@link
363
363
api/ng.directive:ngApp application}. The {@link
364
364
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
366
366
object name result in the same instance. If the object does not exist, then the {@link
367
367
api/AUTO.$injector injector} asks the instance factory to create a new instance.
368
368
@@ -395,7 +395,7 @@ as a {@link api/AUTO.$provide provider}.
395
395
But the real magic of the {@link api/AUTO.$injector injector} is that it can be
396
396
used to {@link api/AUTO.$injector#invoke call} methods and {@link
397
397
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.
399
399
400
400
<pre>
401
401
// You write functions such as this one.
@@ -425,7 +425,7 @@ function arguments. When angular calls the function, it will use the {@link
425
425
api/AUTO.$injector#invoke call} which will automatically fill the function
426
426
arguments.
427
427
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
429
429
{@link api/ng.directive:ngController ng-controller} instantiates
430
430
the controller it automatically provides the dependencies. There is no need to create
431
431
dependencies, look for dependencies, or even get a reference to the injector.
0 commit comments