angular-docs-cn/modules/angular1_router/test
Peter Bacon Darwin edad8e3f56 fix(angular1_router): rename `router` component binding to `$router`
The current router is passed to the current component via a binding.
To indicate that this is an angular provided object, this commit
renames the binding to `$router`.

BREAKING CHANGE:

The recently added binding of the current router to the current component
has been renamed from `router` to `$router`.

So now the recommended set up for your bindings in your routed component
is:

```js
{
  ...
  bindings: {
    $router: '<'
  }
}
```
2016-02-24 21:15:34 +00:00
..
integration fix(angular1_router): rename `router` component binding to `$router` 2016-02-24 21:15:34 +00:00
directive_introspector_spec.js refactor(angular_1_router): use directives for route targets 2015-09-21 12:13:07 -07:00
ng_link_spec.js refactor(router): rename "as" to "name" in RouteConfig 2015-10-29 10:52:55 -07:00
util.es5.js refactor(angular_1_router): use directives for route targets 2015-09-21 12:13:07 -07:00