docs(): Fix a couple of typos in the documentation

This commit is contained in:
Kris Jenkins 2012-10-26 15:00:02 +01:00 committed by Pawel Kozlowski
parent f28f283fcf
commit b21f4a376d
3 changed files with 4 additions and 4 deletions

View file

@ -351,7 +351,7 @@ compiler}. The attributes are:
* `controller` - Controller constructor function. The controller is instantiated before the
pre-linking phase and it is shared with other directives if they request it by name (see
`require` attribute). This allows the directives to communicate with each other and augment
each other behavior. The controller is injectable with the following locals:
each other's behavior. The controller is injectable with the following locals:
* `$scope` - Current scope associated with the element
* `$element` - Current element

View file

@ -832,7 +832,7 @@ function encodeUriQuery(val, pctEncodeSpaces) {
* @name ng.directive:ngApp
*
* @element ANY
* @param {angular.Module} ngApp on optional application
* @param {angular.Module} ngApp an optional application
* {@link angular.module module} name to load.
*
* @description

View file

@ -30,7 +30,7 @@ function setupModuleLoader(window) {
*
* # Module
*
* A module is a collocation of services, directives, filters, and configure information. Module
* A module is a collocation of services, directives, filters, and configuration information. Module
* is used to configure the {@link AUTO.$injector $injector}.
*
* <pre>
@ -60,7 +60,7 @@ function setupModuleLoader(window) {
* @param {!string} name The name of the module to create or retrieve.
* @param {Array.<string>=} requires If specified then new module is being created. If unspecified then the
* the module is being retrieved for further configuration.
* @param {Function} configFn Option configuration function for the module. Same as
* @param {Function} configFn Optional configuration function for the module. Same as
* {@link angular.Module#config Module#config()}.
* @returns {module} new module with the {@link angular.Module} api.
*/