This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 277
277
* the directive's element. If multiple directives on the same element request a new scope,
278
278
* only one new scope is created.
279
279
*
280
- * * **`{...}` (an object hash):** A new "isolate" scope is created for the directive's element. The
281
- * 'isolate' scope differs from normal scope in that it does not prototypically inherit from its parent
282
- * scope. This is useful when creating reusable components, which should not accidentally read or modify
283
- * data in the parent scope.
280
+ * * **`{...}` (an object hash):** A new "isolate" scope is created for the directive's template.
281
+ * The 'isolate' scope differs from normal scope in that it does not prototypically
282
+ * inherit from its parent scope. This is useful when creating reusable components, which should not
283
+ * accidentally read or modify data in the parent scope. Note that an isolate scope
284
+ * directive without a `template` or `templateUrl` will not apply the isolate scope
285
+ * to its children elements.
284
286
*
285
287
* The 'isolate' scope object hash defines a set of local scope properties derived from attributes on the
286
288
* directive's element. These local properties are useful for aliasing values for templates. The keys in
You can’t perform that action at this time.
0 commit comments