angular-cn/modules/angular2/examples/router/ts/on_activate
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
..
index.html docs(router): move examples into own file and add tests 2015-10-27 14:12:56 +00:00
on_activate_example.ts refactor(router): rename "as" to "name" in RouteConfig 2015-10-29 10:52:55 -07:00
on_activate_spec.ts docs(router): move examples into own file and add tests 2015-10-27 14:12:56 +00:00