File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 267
267
* and other directives used in the directive's template will also be excluded from execution.
268
268
*
269
269
* #### `scope`
270
- * The scope property can be `true`, an object or a falsy value :
270
+ * The scope property can be `false`, ` true`, or an object :
271
271
*
272
- * * **falsy:** No scope will be created for the directive. The directive will use its parent's scope.
272
+ * * **`false` (default):** No scope will be created for the directive. The directive will use its
273
+ * parent's scope.
273
274
*
274
275
* * **`true`:** A new child scope that prototypically inherits from its parent will be created for
275
276
* 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.
277
+ * only one new scope is created.
278
278
*
279
279
* * **`{...}` (an object hash):** A new "isolate" scope is created for the directive's element. The
280
280
* '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