mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-23 19:40:56 +08:00
docs($compile): further clarify terminal parameter
Clarifies that the terminal parameter will also exclude execution of any directives and expressions in the directive's own template.
This commit is contained in:
@@ -130,7 +130,8 @@
|
||||
* #### `terminal`
|
||||
* If set to true then the current `priority` will be the last set of directives
|
||||
* which will execute (any directives at the current priority will still execute
|
||||
* as the order of execution on same `priority` is undefined).
|
||||
* as the order of execution on same `priority` is undefined). Note that expressions
|
||||
* and other directives used in the directive's template will also be excluded from execution.
|
||||
*
|
||||
* #### `scope`
|
||||
* **If set to `true`,** then a new scope will be created for this directive. If multiple directives on the
|
||||
|
||||
Reference in New Issue
Block a user