docs(input): fix spelling error and reword for clarity

This commit is contained in:
ts-web 2013-09-19 10:01:33 -04:00 committed by Pete Bacon Darwin
parent ed1dbf2554
commit fd797cdb7e

View file

@ -824,13 +824,13 @@ var VALID_CLASS = 'ng-valid',
* @description * @description
* *
* `NgModelController` provides API for the `ng-model` directive. The controller contains * `NgModelController` provides API for the `ng-model` directive. The controller contains
* services for data-binding, validation, CSS update, value formatting and parsing. It * services for data-binding, validation, CSS updates, and value formatting and parsing. It
* specifically does not contain any logic which deals with DOM rendering or listening to * purposefully does not contain any logic which deals with DOM rendering or listening to
* DOM events. The `NgModelController` is meant to be extended by other directives where, the * DOM events. Such DOM related logic should be provided by other directives which make use of
* directive provides DOM manipulation and the `NgModelController` provides the data-binding. * `NgModelController` for data-binding.
* Note that you cannot use `NgModelController` in a directive with an isolated scope, * Note that you cannot use `NgModelController` in a directive with an isolated scope,
* as, in that case, the `ng-model` value gets put into the isolated scope and does not get * as, in that case, the `ng-model` value gets put into the isolated scope and does not get
* propogated to the parent scope. * propagated to the parent scope.
* *
* *
* This example shows how to use `NgModelController` with a custom control to achieve * This example shows how to use `NgModelController` with a custom control to achieve