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

Commit 3ac97f2

Browse files
@fbivillepetebacondarwin
@fbiville
authored andcommitted
docs(directive guide) typo in compile/link section
The code snippet shows `{{action.description}}`, the explanation referred to it as `{{action.descriptions}}`.
1 parent ed55346 commit 3ac97f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/guide/directive.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ able to quickly stamp out new `li`s for every `action` in `user.actions`. This m
132132
to save a clean copy of the `li` element for cloning purposes and as new `action`s are inserted,
133133
the template `li` element needs to be cloned and inserted into `ul`. But cloning the `li` element
134134
is not enough. It also needs to compile the `li` so that its directives such as
135-
`{{action.descriptions}}` evaluate against the right {@link api/ng.$rootScope.Scope
135+
`{{action.description}}` evaluate against the right {@link api/ng.$rootScope.Scope
136136
scope}. A naive method would be to simply insert a copy of the `li` element and then compile it.
137137
But compiling on every `li` element clone would be slow, since the compilation requires that we
138138
traverse the DOM tree and look for directives and execute them. If we put the compilation inside a

0 commit comments

Comments
 (0)