angular/modules/@angular/core/test
Victor Berchet bf8eb41248 feat(compiler): introduce <ng-template>, deprecate <template> and template attribute
The rationale of this change is to improve the inter-operability with web
components that might make use of the `<template>` tag.

DEPRECATION

The template tags and template attribute are deprecated:

    <template ngFor [ngFor]=items let-item><li>...</li></template>
    <li template="ngFor: let item of items">...</li>

should be rewritten as:

    <ng-template ngFor [ngFor]=items let-item><li>...</li></ng-template>

Note that they still be supported in 4.x with a deprecartion warning in
development mode.

MIGRATION

- `template` tags (or elements with a `template` attribute) should be rewritten
as a `ng-template` tag,
- `ng-content` selectors should be updated to referto a `ng-template` where they
use to refer to a template: `<ng-content selector="template[attr]">` should be
rewritten as `<ng-content selector="ng-template[attr]">`
- if you consume a component relying on your templates being actual `template`
elements (that is they include a `<ng-content selector="template[attr]">`). You
should  still migrate to `ng-template` and make use of `ngProjectAs` to override
the way `ng-content` sees the template:
`<ng-template projectAs="template[attr]">`
- while `template` elements are deprecated in 4.x they continue to work.
2017-02-23 20:03:16 -08:00
..
animation refactor(core): enable new animations dsl 2017-02-23 13:59:16 -08:00
change_detection fix(core): Add type information to differs 2017-01-09 18:56:34 -05:00
debug refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
di feat(core): make new Inject() optional for deps specified as InjectionToken (#14486) 2017-02-20 16:20:45 -08:00
dom feat(platform-server): add API to render Module and ModuleFactory to string (#14381) 2017-02-14 16:14:40 -08:00
facade refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
linker feat(compiler): introduce <ng-template>, deprecate <template> and template attribute 2017-02-23 20:03:16 -08:00
metadata refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
reflection fix(compiler): don’t throw when using ANALYZE_FOR_ENTRY_COMPONENTS with user classes (#13679) 2016-12-27 16:58:52 -08:00
testability refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
util fix(common): introduce isObservable method (#14067) 2017-01-31 12:14:19 -06:00
view refactor(core): view engine - misc 2017-02-23 08:26:47 -08:00
zone perf: Don’t subclass Error; resulting in smaller binary (#14160) 2017-02-07 19:18:26 -06:00
application_init_spec.ts Typo (#13698) 2016-12-29 09:41:21 -08:00
application_module_spec.ts fix(common): do not override locale provided on bootstrap (#13654) 2017-01-05 09:24:37 -08:00
application_ref_spec.ts feat(compiler): introduce <ng-template>, deprecate <template> and template attribute 2017-02-23 20:03:16 -08:00
component_fixture_spec.ts refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
dev_mode_spec.ts fix(testing): remove deprecated testing APIs (#9923) 2016-07-11 16:04:32 -07:00
directive_lifecycle_integration_spec.ts refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
error_handler_spec.ts perf: Don’t subclass Error; resulting in smaller binary (#14160) 2017-02-07 19:18:26 -06:00
fake_async_spec.ts feat: upgrade zone.js to v0.7.1 2016-11-29 17:24:00 -08:00
forward_ref_integration_spec.ts fix(DomSchemaRegistry): detect invalid elements 2016-08-30 21:32:03 -07:00
spies.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
testing_internal_spec.ts refactor: kill MapWrapper 2016-11-04 13:27:38 -07:00