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

Commit cc94831

Browse files
authored
docs($compile): remove meaningless sentence
Closes #15109
1 parent 51c516e commit cc94831

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: src/ng/compile.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -269,12 +269,11 @@
269269
* #### `scope`
270270
* The scope property can be `true`, an object or a falsy value:
271271
*
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.
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)