Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 9f90f36

Browse files
committed
docs($compile): remove meaningless sentence
Closes #15109
1 parent 51c516e commit 9f90f36

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/ng/compile.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -267,14 +267,13 @@
267267
* and other directives used in the directive's template will also be excluded from execution.
268268
*
269269
* #### `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:
271271
*
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 parent's scope.
273273
*
274274
* * **`true`:** A new child scope that prototypically inherits from its parent will be created for
275275
* 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.
278277
*
279278
* * **`{...}` (an object hash):** A new "isolate" scope is created for the directive's element. The
280279
* 'isolate' scope differs from normal scope in that it does not prototypically inherit from its parent

0 commit comments

Comments
 (0)