Skip to content

Commit d14c7f3

Browse files
thorn0gkalpak
authored andcommitted
docs($compile): remove obsolete sentence
Fixes angular#15109 Closes angular#15119
1 parent 78e6a58 commit d14c7f3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ng/compile.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -267,14 +267,14 @@
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
273+
* parent's scope.
273274
*
274275
* * **`true`:** A new child scope that prototypically inherits from its parent will be created for
275276
* 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.
278278
*
279279
* * **`{...}` (an object hash):** A new "isolate" scope is created for the directive's element. The
280280
* 'isolate' scope differs from normal scope in that it does not prototypically inherit from its parent

0 commit comments

Comments
 (0)