Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

docs(devguide): template tags are replaced by comments now #2885

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion public/docs/ts/latest/guide/structural-directives.jade
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ figure.image-display
img(src='/resources/images/devguide/structural-directives/template-in-out-of-a2.png' alt="template outside angular")

:marked
Evidently Angular replaces the `<template>` tag and its contents with empty `<script>` tags.
Evidently Angular replaces the `<template>` tag and its contents with comments.
That's just its default behavior.
It can do something different as we saw when applying a variety of `ngSwitch` directives to `<template>` tags:

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.