angular-cn/modules/@angular
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
..
common feat(NumberPipe): add string support (#10163) 2016-07-19 11:27:06 -07:00
compiler fix(testing): add an explicit doAsyncPrecompilation step (#10015) 2016-07-20 10:51:21 -07:00
compiler-cli fix(compiler): Query expression lambdas should have dynamic type 2016-07-13 15:41:30 -07:00
core fix(testing): add an explicit doAsyncPrecompilation step (#10015) 2016-07-20 10:51:21 -07:00
docs docs: update cheatsheet import lines (#9614) 2016-06-26 07:31:35 -07:00
examples chore(lint): enable lint check for duplicate vars 2016-07-13 12:33:39 -07:00
facade refactor(Differ): cleanup 2016-07-18 11:30:07 -07:00
forms refactor(Differ): cleanup 2016-07-18 11:30:07 -07:00
http fix(http): convert objects passed to requests into a string (#10124) 2016-07-18 14:20:03 -07:00
platform-browser fix(testing): add an explicit doAsyncPrecompilation step (#10015) 2016-07-20 10:51:21 -07:00
platform-browser-dynamic fix(testing): Add platform directives to the shim that keeps setBaseTestProviders running (#10154) 2016-07-19 08:59:14 -07:00
platform-server fix(testing): remove deprecated testing APIs (#9923) 2016-07-11 16:04:32 -07:00
router fix(router): navigation should not preserve query params and fragment by default 2016-07-20 14:30:04 -07:00
router-deprecated feat(ICU): enable ICU extraction even when when in is not used 2016-07-12 16:57:39 -07:00
upgrade chore(lint): enable lint check for duplicate vars 2016-07-13 12:33:39 -07:00
README.dart.md repackaging: all the file moves 2016-05-01 20:51:00 -07:00
README.js.md repackaging: all the file moves 2016-05-01 20:51:00 -07:00
license-banner.txt chore(package.json): make the packages installable 2016-05-27 17:21:34 -07:00
package.json repackaging: all the file moves 2016-05-01 20:51:00 -07:00
pubspec.yaml repackaging: all the file moves 2016-05-01 20:51:00 -07:00

README.js.md

Angular2

The sources for this package are in the main Angular2 repo. Please file issues and pull requests against that repo. This is the repository for the upcoming 2.0 version. If you're looking for the current official version of Angular you should go to angular/angular.js

This package contains different sources for different users:

  1. The files located in the root folder can be consumed using CommonJS.
  2. The files under /es6 are es6 compatible files that can be transpiled to es5 using any transpiler. This contains:
    • dev/: a development version that includes runtime type assertions
    • prod/: a production version that does not include runtime type assertions
  3. The files under /ts are the TypeScript source files.

License: Apache MIT 2.0