File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ able to quickly stamp out new `li`s for every `action` in `user.actions`. This m
157
157
to save a clean copy of the `li` element for cloning purposes and as new `action`s are inserted,
158
158
the template `li` element needs to be cloned and inserted into `ul`. But cloning the `li` element
159
159
is not enough. It also needs to compile the `li` so that its directives such as
160
- `{{action.descriptions }}` evaluate against the right {@link api/ng.$rootScope.Scope
160
+ `{{action.description }}` evaluate against the right {@link api/ng.$rootScope.Scope
161
161
scope}. A naive method would be to simply insert a copy of the `li` element and then compile it.
162
162
But compiling on every `li` element clone would be slow, since the compilation requires that we
163
163
traverse the DOM tree and look for directives and execute them. If we put the compilation inside a
You can’t perform that action at this time.
0 commit comments