File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 269
269
* #### `scope`
270
270
* The scope property can be `true`, an object or a falsy value:
271
271
*
272
- * * **falsy:** No scope will be created for the directive. The directive will use its parent's scope.
272
+ * * **falsy (default) :** No scope will be created for the directive. The directive will use its parent's scope.
273
273
*
274
274
* * **`true`:** A new child scope that prototypically inherits from its parent will be created for
275
275
* the directive's element. If multiple directives on the same element request a new scope,
276
- * only one new scope is created. The new scope rule does not apply for the root of the template
277
- * since the root of the template always gets a new scope.
276
+ * only one new scope is created.
278
277
*
279
278
* * **`{...}` (an object hash):** A new "isolate" scope is created for the directive's element. The
280
279
* 'isolate' scope differs from normal scope in that it does not prototypically inherit from its parent
You can’t perform that action at this time.
0 commit comments