aboutsummaryrefslogtreecommitdiffstats
path: root/src/Scope.js
diff options
context:
space:
mode:
authorIgor Minar2010-11-24 19:29:45 -0800
committerIgor Minar2010-11-24 19:29:45 -0800
commit17eee57c522516ba139c05091fac200dfc353d36 (patch)
tree9878a40967ced42a194b2809a92b09d3ffa51c88 /src/Scope.js
parent4fc3ee80407828ba1fe983a45385a41bca32131c (diff)
downloadangular.js-17eee57c522516ba139c05091fac200dfc353d36.tar.bz2
fixing docs for angular.scope
Diffstat (limited to 'src/Scope.js')
-rw-r--r--src/Scope.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Scope.js b/src/Scope.js
index 673e6e84..09779453 100644
--- a/src/Scope.js
+++ b/src/Scope.js
@@ -191,7 +191,16 @@ function errorHandlerFor(element, error) {
* Note: A widget that creates scopes (i.e. {@link angular.widget.@ng:repeat ng:repeat}) is
* responsible for forwarding `$eval()` calls from the parent to those child scopes. That way,
* calling $eval() on the root scope will update the whole page.
-
+ *
+ *
+ * @TODO THESE PARAMS AND RETURNS ARE NOT RENDERED IN THE TEMPLATE!! FIX THAT!
+ * @param {Object} parent The scope that should become the parent for the newly created scope.
+ * @param {Object.<string, function()>=} providers Map of service factory which need to be provided
+ * for the current scope. Usually {@link angular.service}.
+ * @param {Object.<string, *>=} instanceCache Provides pre-instantiated services which should
+ * append/override services provided by `providers`.
+ * @returns {Object} Newly created scope.
+ *
*
* @exampleDescription
* This example demonstrates scope inheritance and property overriding.