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

Commit b21f4a3

Browse files
krisajenkinspkozlowski-opensource
authored andcommitted
docs(): Fix a couple of typos in the documentation
1 parent f28f283 commit b21f4a3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/content/guide/directive.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ compiler}. The attributes are:
351351
* `controller` - Controller constructor function. The controller is instantiated before the
352352
pre-linking phase and it is shared with other directives if they request it by name (see
353353
`require` attribute). This allows the directives to communicate with each other and augment
354-
each other behavior. The controller is injectable with the following locals:
354+
each other's behavior. The controller is injectable with the following locals:
355355

356356
* `$scope` - Current scope associated with the element
357357
* `$element` - Current element

src/Angular.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ function encodeUriQuery(val, pctEncodeSpaces) {
832832
* @name ng.directive:ngApp
833833
*
834834
* @element ANY
835-
* @param {angular.Module} ngApp on optional application
835+
* @param {angular.Module} ngApp an optional application
836836
* {@link angular.module module} name to load.
837837
*
838838
* @description

src/loader.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function setupModuleLoader(window) {
3030
*
3131
* # Module
3232
*
33-
* A module is a collocation of services, directives, filters, and configure information. Module
33+
* A module is a collocation of services, directives, filters, and configuration information. Module
3434
* is used to configure the {@link AUTO.$injector $injector}.
3535
*
3636
* <pre>
@@ -60,7 +60,7 @@ function setupModuleLoader(window) {
6060
* @param {!string} name The name of the module to create or retrieve.
6161
* @param {Array.<string>=} requires If specified then new module is being created. If unspecified then the
6262
* the module is being retrieved for further configuration.
63-
* @param {Function} configFn Option configuration function for the module. Same as
63+
* @param {Function} configFn Optional configuration function for the module. Same as
6464
* {@link angular.Module#config Module#config()}.
6565
* @returns {module} new module with the {@link angular.Module} api.
6666
*/

0 commit comments

Comments
 (0)