angular-cn/modules/angular2/examples/router/ts
Tobias Bosch d2efac18ed feat(core): separate refs from vars.
Introduces `ref-` to give a name to an element or a directive (also works for `<template>` elements), and `let-` to introduce an input variable for a `<template>` element.

BREAKING CHANGE:
- `#...` now always means `ref-`.
- `<template #abc>` now defines a reference to the TemplateRef, instead of an input variable used inside of the template.
- `#...` inside of a *ngIf, … directives is deprecated.
  Use `let …` instead.
- `var-...` is deprecated. Replace with `let-...` for `<template>` elements and `ref-` for non `<template>` elements.

Closes #7158

Closes #8264
2016-04-28 01:13:40 +00:00
..
can_activate refactor(Location): out of router and into platform/common 2016-04-20 04:28:47 +00:00
can_deactivate refactor(Location): out of router and into platform/common 2016-04-20 04:28:47 +00:00
on_activate refactor(core): support non reflective bootstrap. 2016-04-20 11:34:11 -07:00
on_deactivate feat(core): separate refs from vars. 2016-04-28 01:13:40 +00:00
reuse refactor(Location): out of router and into platform/common 2016-04-20 04:28:47 +00:00
.gitkeep docs(examples): add empty examples directory for api docs examples 2015-09-23 21:30:17 +00:00