angular-cn/modules/angular2/examples/router/ts
Vamsi V 7d83959be5 refactor(router): rename "as" to "name" in RouteConfig
BREAKING CHANGE:

This is a rename to make routing concepts easier to understand.

Before:

```
@RouteConfig([
  { path: '/', component: MyCmp, as: 'Home' }
])
```

After:

```
@RouteConfig([
  { path: '/', component: MyCmp, name: 'Home' }
])
```

Closes #4622

Closes #4896
2015-10-29 10:52:55 -07:00
..
can_activate refactor(router): rename "as" to "name" in RouteConfig 2015-10-29 10:52:55 -07:00
can_deactivate refactor(router): rename "as" to "name" in RouteConfig 2015-10-29 10:52:55 -07:00
on_activate refactor(router): rename "as" to "name" in RouteConfig 2015-10-29 10:52:55 -07:00
on_deactivate refactor(router): rename "as" to "name" in RouteConfig 2015-10-29 10:52:55 -07:00
reuse refactor(router): rename "as" to "name" in RouteConfig 2015-10-29 10:52:55 -07:00
.gitkeep docs(examples): add empty examples directory for api docs examples 2015-09-23 21:30:17 +00:00