angular-docs-cn/modules
cexbrayat b87da8f47c refactor(router): RouteData as a type
BREAKING CHANGE

The ROUTE_DATA token has been removed and replaced with a type RouteData,
allowing a type injection like we do with RouteParams.

Before:

    constructor(routeParams: RouteParams, @Inject(ROUTE_DATA) routeData) {
      let id = routeParams.get('id');
      let name = ROUTE_DATA.name;
    }

After:

    constructor(routeParams: RouteParams, routeData: RouteData) {
      let id = routeParams.get('id');
      let name = routeData.get('name');
    }

Fixes #4392

Closes #4428
2015-10-27 14:23:44 +00:00
..
angular1_router docs(chore): make styles consistent for API doc headings 2015-10-19 14:58:22 +00:00
angular2 refactor(router): RouteData as a type 2015-10-27 14:23:44 +00:00
angular2_material fix(testing): let DOM adapter dictate XHR implementation for tests 2015-10-15 12:12:27 -07:00
benchmarks refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
benchmarks_external refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
benchpress chore: rename modules/examples to modules/playground 2015-10-18 11:48:43 +00:00
playground fix(router): respect LocationStrategy when constructing hrefs in links 2015-10-27 10:45:49 +00:00
upgrade docs(chore): make styles consistent for API doc headings 2015-10-19 14:58:22 +00:00