Skip to content

Commit 1eb6036

Browse files
ccschmitzpkozlowski-opensource
authored andcommitted
docs($compile) fix a typo
Remove unnecessary 'and' in $compile docs. Closes angular#10582
1 parent 4836dac commit 1eb6036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/compile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@
477477
*
478478
* <div class="alert alert-info">
479479
* **Best Practice**: if you intend to add and remove transcluded content manually in your directive
480-
* (by calling the transclude function to get the DOM and and calling `element.remove()` to remove it),
480+
* (by calling the transclude function to get the DOM and calling `element.remove()` to remove it),
481481
* then you are also responsible for calling `$destroy` on the transclusion scope.
482482
* </div>
483483
*

0 commit comments

Comments
 (0)