angular-cn/aio/content
Victor Berchet 0ebd577db4 refactor(compiler): Drop support for the deprecated `<template>`. Use `<ng-template>` instead (#22783)
BREAKING CHANGE:

The `<template>` tag was deprecated in Angular v4 to avoid collisions (i.e. when
using Web Components).

This commit removes support for `<template>`. `<ng-template>` should be used
instead.

BEFORE:

    <!-- html template -->
    <template>some template content</template>

    # tsconfig.json
    {
      # ...
      "angularCompilerOptions": {
        # ...
        # This option is no more supported and will have no effect
        "enableLegacyTemplate": [true|false]
      }
    }

AFTER:

    <!-- html template -->
    <ng-template>some template content</ng-template>

PR Close #22783
2018-03-15 14:52:22 -07:00
..
examples fix(core): remove core animation import symbols (#22692) 2018-03-14 12:23:51 -07:00
guide refactor(compiler): Drop support for the deprecated `<template>`. Use `<ng-template>` instead (#22783) 2018-03-15 14:52:22 -07:00
images docs(aio): update architecture section (#21569) 2018-03-15 14:48:35 -07:00
marketing docs(aio): add ng-japan 2018 to events (#22750) 2018-03-14 10:59:55 -07:00
tutorial docs: add HeroService to code tabs and fix headers (#22373) 2018-03-07 18:20:53 -08:00
file-not-found.md feat(aio): add search to 404 page (#19682) 2017-10-13 09:18:42 -07:00
license.md docs(common): update copyright years (#21232) 2018-01-04 17:45:36 -05:00
navigation.json docs(aio): update architecture section (#21569) 2018-03-15 14:48:35 -07:00