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

docs($compile): remove meaningless sentence #15119

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/ng/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,14 +267,13 @@
* and other directives used in the directive's template will also be excluded from execution.
*
* #### `scope`
* The scope property can be `true`, an object or a falsy value:
* The scope property can be `false`, `true`, or an object:
*
* * **falsy:** No scope will be created for the directive. The directive will use its parent's scope.
* * **`false` (default):** No scope will be created for the directive. The directive will use its parent's scope.
*
* * **`true`:** A new child scope that prototypically inherits from its parent will be created for
* the directive's element. If multiple directives on the same element request a new scope,
* only one new scope is created. The new scope rule does not apply for the root of the template
* since the root of the template always gets a new scope.
* only one new scope is created.
*
* * **`{...}` (an object hash):** A new "isolate" scope is created for the directive's element. The
* 'isolate' scope differs from normal scope in that it does not prototypically inherit from its parent
Expand Down