aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/cookbook/mvc.ngdoc
diff options
context:
space:
mode:
authorIgor Minar2012-06-10 09:01:42 -0700
committerIgor Minar2012-06-10 09:01:42 -0700
commit5d70e4a89cd9b3d430bb81f438cf03e956d9a9d2 (patch)
tree2a9311d9735c938321e581b22fb3e06c40839385 /docs/content/cookbook/mvc.ngdoc
parentb5bba65a9353ca9dc03b8d0c3c9b06d9c4cdacdf (diff)
downloadangular.js-5d70e4a89cd9b3d430bb81f438cf03e956d9a9d2.tar.bz2
docs(*): fix various outdated docs and examples
Closes #1030
Diffstat (limited to 'docs/content/cookbook/mvc.ngdoc')
-rw-r--r--docs/content/cookbook/mvc.ngdoc7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/content/cookbook/mvc.ngdoc b/docs/content/cookbook/mvc.ngdoc
index 92033352..da8f48e2 100644
--- a/docs/content/cookbook/mvc.ngdoc
+++ b/docs/content/cookbook/mvc.ngdoc
@@ -6,9 +6,10 @@ MVC allows for a clean an testable separation between the behavior (controller)
(HTML template). A Controller is just a JavaScript class which is grafted onto the scope of the
view. This makes it very easy for the controller and the view to share the model.
-The model is simply the controller's this. This makes it very easy to test the controller in
-isolation since one can simply instantiate the controller and test without a view, because there is
-no connection between the controller and the view.
+The model is a set of objects and primitives that are referenced from the Scope ($scope) object.
+This makes it very easy to test the controller in isolation since one can simply instantiate the
+controller and test without a view, because there is no connection between the controller and the
+view.
<doc:example>