angular-docs-cn/modules
vsavkin 23ee29b6a2 fix(router): navigation should not preserve query params and fragment by default
BREAKING CHANGE

Previously both imperative (router.navigate) and declarative (routerLink) navigations
would preserve the current query params and fragment. This behavior turned out to
be confusing. This commit changes it.

Now, neither is preserved by default. To preserve them, you need to do the following:

router.naviage("newUrl", {preserveQueryParams: true, preserveFragment: true})

<a routerLink="newUrl" preserveQueryParams preserveFragment></a>
2016-07-20 14:30:04 -07:00
..
@angular fix(router): navigation should not preserve query params and fragment by default 2016-07-20 14:30:04 -07:00
angular1_router fix(ngRouteShim): update anchors to function similar to angular 1.x (#8478) 2016-05-26 12:03:23 -07:00
benchmarks feat(benchpress): add custom user metric to benchpress 2016-06-16 07:30:53 -07:00
benchmarks_external repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
benchpress feat(benchpress): add custom user metric to benchpress 2016-06-16 07:30:53 -07:00
e2e_util fix(platform-browser): remove testing_e2e target (#10029) 2016-07-13 10:10:02 -07:00
payload_tests/hello_world/ts repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
playground fix(router): expose initalNavigation and dispose so they can be used with webworkers 2016-07-14 17:29:01 -07:00
rollup-test build: remove dependency on tsd and use @types/* instead 2016-05-25 16:42:28 -07:00
empty.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
es6-subset.d.ts chore(typings): restrict Angular to es5+collections+promise 2016-06-27 13:58:59 -07:00
tsconfig-ts2dart.json repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
tsconfig.json chore(typings): restrict Angular to es5+collections+promise 2016-06-27 13:58:59 -07:00
types.d.ts chore(typings): restrict Angular to es5+collections+promise 2016-06-27 13:58:59 -07:00
upgrade-ts2dart.d.ts repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
zone-ts2dart.d.ts repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00