diff options
| author | Igor Minar | 2011-06-06 08:50:35 -0700 |
|---|---|---|
| committer | Igor Minar | 2011-06-06 22:52:02 -0700 |
| commit | 7f1e2e48467f80cc083d24b44f088620e4e7bcb6 (patch) | |
| tree | 731a91366c5780985be6d4c5ddbe34e307d5cb70 /docs/content/guide/dev_guide.mvc.understanding_view.ngdoc | |
| parent | 5533e48dead5cff3107e72ee80bf0f19df77c1e9 (diff) | |
| download | angular.js-7f1e2e48467f80cc083d24b44f088620e4e7bcb6.tar.bz2 | |
new batch of docs
Diffstat (limited to 'docs/content/guide/dev_guide.mvc.understanding_view.ngdoc')
| -rw-r--r-- | docs/content/guide/dev_guide.mvc.understanding_view.ngdoc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/docs/content/guide/dev_guide.mvc.understanding_view.ngdoc b/docs/content/guide/dev_guide.mvc.understanding_view.ngdoc new file mode 100644 index 00000000..ff202688 --- /dev/null +++ b/docs/content/guide/dev_guide.mvc.understanding_view.ngdoc @@ -0,0 +1,29 @@ +@workInProgress +@ngdoc overview +@name Developer Guide: About MVC in Angular: Understanding the View Component +@description + + +In angular, the view is the DOM loaded and rendered in the browser, after angular has transformed +the DOM based on information in the template, controller and model. + + +<img src="img/guide/about_view_final.png"> + + +In the angular implementation of MVC, the view has knowledge of both the model and the controller. +The view knows about the model where two-way data-binding occurs. The view has knowledge of the +controller through angular directives, such as {@link api/angular.directive.@ng:controller +ng:controller} and {@link api/angular.widget.ng:view ng:view}, and through bindings of this form: +`{{someControllerFunction()}}`. In these ways, the view can call functions in an associated +controller function. + + + + +## Related Topics + + +* {@link dev_guide.mvc About MVC in Angular} +* {@link dev_guide.mvc.understanding_model Understanding the Model Component} +* {@link dev_guide.mvc.understanding_controller Understanding the Controller Component} |
