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

fixes #2235: fix docs for directive replace:false #4166

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions docs/content/guide/directive.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,11 @@ compiler}. The attributes are:
a string value representing the url. In either case, the template URL is passed through {@link
api/ng.$sce#getTrustedResourceUrl $sce.getTrustedResourceUrl}.

* `replace` - if set to `true` then the template will replace the current element, rather than
append the template to the element.
* `replace` - specify where the template should be inserted. Defaults to `false`.

* `true` - the template will replace the current element.
* `false` - the template will replace the contents of the current element.


* `transclude` - compile the content of the element and make it available to the directive.
Typically used with {@link api/ng.directive:ngTransclude
Expand Down