aboutsummaryrefslogtreecommitdiffstats
path: root/src/Scope.js
diff options
context:
space:
mode:
authorAnthony Lieuallen2011-02-14 13:17:04 -0500
committerIgor Minar2011-02-16 00:04:15 -0500
commit7cf70c587e436014b2148eb4f12ecda307d25957 (patch)
treedf8171b59e9abd8515fcb93fd5901abcd08af9f7 /src/Scope.js
parent1777110958f76ee4be5760e36c96702223385918 (diff)
downloadangular.js-7cf70c587e436014b2148eb4f12ecda307d25957.tar.bz2
Small spelling and grammar fixes in documentation.
Diffstat (limited to 'src/Scope.js')
-rw-r--r--src/Scope.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Scope.js b/src/Scope.js
index 0084d80c..7d802a51 100644
--- a/src/Scope.js
+++ b/src/Scope.js
@@ -119,13 +119,13 @@ function errorHandlerFor(element, error) {
* - Scopes can be nested. A scope (prototypically) inherits properties from its parent scope.
* - Scopes can be attached (bound) to the HTML DOM tree (the view).
* - A scope {@link angular.scope.$become becomes} `this` for a controller.
- * - Scope's {@link angular.scope.$eval $eval} is used to update its view.
+ * - A scope's {@link angular.scope.$eval $eval} is used to update its view.
* - Scopes can {@link angular.scope.$watch watch} properties and fire events.
*
* # Basic Operations
* Scopes can be created by calling {@link angular.scope() angular.scope()} or by compiling HTML.
*
- * {@link angular.widget Widgets} and data bindings register listeners on the current scope to get
+ * {@link angular.widget Widgets} and data bindings register listeners on the current scope to be
* notified of changes to the scope state. When notified, these listeners push the updated state
* through to the DOM.
*
@@ -172,7 +172,7 @@ function errorHandlerFor(element, error) {
*
* # When scopes are evaluated
* Anyone can update a scope by calling its {@link angular.scope.$eval $eval()} method. By default
- * angular widgets listen to user change events (e.g. the user enters text into text field), copy
+ * angular widgets listen to user change events (e.g. the user enters text into a text field), copy
* the data from the widget to the scope (the MVC model), and then call the `$eval()` method on the
* root scope to update dependents. This creates a spreadsheet-like behavior: the bound views update
* immediately as the user types into the text field.
@@ -183,7 +183,7 @@ function errorHandlerFor(element, error) {
*
* Because a change in the model that's triggered either by user input or by server response calls
* `$eval()`, it is unnecessary to call `$eval()` from within your controller. The only time when
- * calling `$eval()` is needed, is when implementing a custom widget or service.
+ * calling `$eval()` is needed is when implementing a custom widget or service.
*
* Because scopes are inherited, the child scope `$eval()` overrides the parent `$eval()` method.
* So to update the whole page you need to call `$eval()` on the root scope as `$root.$eval()`.
@@ -393,7 +393,7 @@ function createScope(parent, providers, instanceCache) {
* {@link angular.scope.$eval()} with expression parameter, but also wraps it in a try/catch
* block.
*
- * If exception is thrown then `exceptionHandler` is used to handle the exception.
+ * If an exception is thrown then `exceptionHandler` is used to handle the exception.
*
* # Example
<pre>
@@ -448,7 +448,7 @@ function createScope(parent, providers, instanceCache) {
*
* @description
* Registers `listener` as a callback to be executed every time the `watchExp` changes. Be aware
- * that callback gets, by default, called upon registration, this can be prevented via the
+ * that the callback gets, by default, called upon registration, this can be prevented via the
* `initRun` parameter.
*
* # Example