From 5d70e4a89cd9b3d430bb81f438cf03e956d9a9d2 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Sun, 10 Jun 2012 09:01:42 -0700 Subject: docs(*): fix various outdated docs and examples Closes #1030 --- docs/content/cookbook/mvc.ngdoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'docs/content/cookbook/mvc.ngdoc') 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. -- cgit v1.2.3