vsavkin
3a307c2794
fix(router): absolute redirects should work with lazy loading
2016-08-05 13:12:21 -07:00
vsavkin
4f17dbc721
fix(router): add segmentPath to the link DSL
2016-08-05 13:12:21 -07:00
vsavkin
422d380b3e
feat(router): add queryParams and fragment to every activated route
2016-08-03 15:30:03 -07:00
vsavkin
6f68330fa5
feat(router): rename UrlPathWithParams into UrlSegment
...
BREAKING CHANGE:
UrlPathWithParams => UrlSegment
UrlSegment => UrlSegmentGroup
2016-07-25 12:15:07 -07:00
vsavkin
93a4ca652a
refactor(router): renames PRIMARY_OUTLET into primary
2016-07-22 18:51:35 -07:00
Victor Berchet
00aa7a76b6
chore(tests): enable lint, make it green. ( #10224 )
2016-07-21 17:12:00 -07:00
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
vsavkin
7a4f6621ed
fix(router): handle lastPathIndex of empty-path routes
2016-07-18 17:42:04 -07:00
vsavkin
ded518d47f
feat(router): update routerLink DSL to handle aux routes
2016-07-12 11:44:55 -07:00
vsavkin
34b3c534e7
fix(router): disallow root segments with matrix params
2016-07-08 14:47:55 -07:00
vsavkin
f2f1ec0117
feat(router): implement data and resolve
2016-06-27 14:25:56 -07:00
vsavkin
15911367a2
refactor(router): removes a circualr dep
2016-06-21 12:17:30 -07:00
vsavkin
d1f93072a8
chore(router): clang-format
2016-06-21 12:17:30 -07:00
vsavkin
f8e8d22e4e
fix(router): stringify positional parameters when using routerLink
2016-06-21 12:17:30 -07:00
vsavkin
127401598b
feat(router): implement terminal
2016-06-21 12:17:30 -07:00
vsavkin
56f8c95ee9
tests(router): add tests verifying that updating secondary segments using router link works
2016-06-21 12:17:30 -07:00
vsavkin
ed50e17e5b
refactor(router): rename queryParameters into queryParams
2016-06-21 12:17:30 -07:00
vsavkin
ab958598d7
feat(router): implement CandDeactivate
2016-06-21 12:17:30 -07:00
vsavkin
1914847e72
cleanup(router): make strictNullChecks happy
2016-06-21 12:17:30 -07:00
vsavkin
d95f0fd83d
fix(router): fix index routes
2016-06-21 12:17:30 -07:00
vsavkin
c5cca8e098
feat(router): add support for CanActivate guard
2016-06-21 12:17:30 -07:00
vsavkin
2e1bd46bb1
feat(router): add createUrlTree
2016-06-21 12:17:30 -07:00