46e105f3ab
fix(router): encode/decode params and path segments
2016-07-07 17:33:42 -07:00
f7a0e9ecb6
fix(router): fix RouterLinKActive to work with RouterLink
2016-07-07 17:33:42 -07:00
72544ba551
feat(router): add RouterTestModule
2016-07-07 14:28:01 -07:00
c43dd5a655
refactor(router): renamed RouterAppModule into RouterModule
2016-07-07 14:28:01 -07:00
37e6da6dfb
refactor(router): clean up naming
2016-07-06 16:19:52 -07:00
8aa2a0c1b2
feat(router): add RouterAppModule
2016-07-06 16:00:40 -07:00
6bfd514caf
fix(router): remove a circular dep
2016-07-06 14:38:05 -07:00
8ebb8e44c8
feat(router): add support for lazily loaded modules
2016-07-06 14:38:05 -07:00
0c65d5cf2b
fix(router): handle router outlets in ngIf
2016-06-30 22:14:42 -07:00
f65ebec3ed
fix(router): update links when query params change
2016-06-30 22:14:42 -07:00
81bf3f66ca
docs(router): rename global redirects into absolute redirects
2016-06-30 22:14:42 -07:00
137fff9632
fix(router): remove private and internal annotations ( #9753 )
2016-06-30 19:39:13 -07:00
dabf214f17
fix(router): remove private and internal annotations ( #9745 )
2016-06-30 14:47:55 -07:00
fb2539e1d5
fix(router): remove the precompile warning
2016-06-30 14:33:04 -07:00
73f017bad9
fix(typescript): make router compile with typescript@next
...
fixes #9731
2016-06-30 11:51:52 -07:00
a3b90411aa
fix(router): fix RouterLinkActive to handle the case when the link has extra paths
2016-06-30 09:26:57 -07:00
5781b96490
fix(router): redirect should not add unnecessary brackets
2016-06-30 09:26:57 -07:00
3784696b9e
fix(router): make the contstructor of the router service public
2016-06-28 18:39:37 -07:00
8c45aebc18
fix(router): make router links work on non-a tags
2016-06-28 18:39:37 -07:00
296a447e3c
docs(router): add api docs
2016-06-28 14:49:29 -07:00
24eb8389d2
fix: public api surface fixes + stability markers
...
- ts-api-guardian will now error if a new public symbol is added with a stability marker (`@stable`, `@experimental`, `@deprecated`)
- DomEventsPlugin and KeyEventsPlugin were removed from public api surface - these classes is an implementation detail
- deprecated BROWSER_PROVIDERS was removed completely
- `@angular/compiler` was removed from the ts-api-guardian check since this package shouldn't contain anything that users need to directly import
- the rest of the api surface was conservatively marked as stable or experimental
BREAKING CHANGES: DomEventsPlugin and KeyEventsPlugin previously exported from core are no longer public - these classes are implementation detail.
Previously deprecated BROWSER_PROVIDERS was completely removed from platform-browser.
Closes #9236
Closes #9235
Ref #9234
2016-06-28 07:39:40 -07:00
fcfddbf79c
feat(router): add pathMatch property to replace terminal
2016-06-27 20:21:30 -07:00
dc64e90ab9
feat(router): use componentFactoryResolver
2016-06-27 20:21:30 -07:00
f2f1ec0117
feat(router): implement data and resolve
2016-06-27 14:25:56 -07:00
e913d9954d
chore(typings): restrict Angular to es5+collections+promise
2016-06-27 13:58:59 -07:00
d20488752b
fix(router): top-levels do not work in ngIf
2016-06-27 13:34:54 -07:00
855f3afb28
fix(router): canceled navigations should return a promise that is resolved with false
2016-06-27 13:34:54 -07:00
3f44377f2f
fix(router): handle empty path with query params
2016-06-27 13:34:54 -07:00
90295e3252
fix(router): preserve fragment on initial load
2016-06-27 13:34:54 -07:00
327d04c9c6
chore(router): clang-format
2016-06-24 12:44:32 -07:00
54edce2bab
fix(router): wildcard don't get notified on url changes
2016-06-24 12:44:32 -07:00
1a145ac500
fix(router): default exact to false in routerLinkActiveOptions
2016-06-24 12:44:32 -07:00
41b781107b
fix(router): doen't throw on canDeactive when route hasn't advanced
2016-06-24 12:44:32 -07:00
fbd2dd9ca2
fix(router): handle path:'' redirects and matches
2016-06-24 11:39:41 -07:00
22d8f73bc9
test: add public api golden files
...
Includes a few style fixes on "* as foo" imports.
2016-06-23 14:26:40 -07:00
ae75e3640a
chore(lint): Added license headers to most TypeScript files
...
Relates to #9380
2016-06-23 09:47:54 -07:00
15911367a2
refactor(router): removes a circualr dep
2016-06-21 12:17:30 -07:00
8dd3f59c81
chore(router): changes the router setup to align with other modules
2016-06-21 12:17:30 -07:00
c9d28492b7
chore(router): remove lint and format tasks from router
2016-06-21 12:17:30 -07:00
92d8bf9619
feat(router): add support for componentless routes
2016-06-21 12:17:30 -07:00
bd2281e32d
fix(resolve): change resolve not to resolve root activate route
2016-06-21 12:17:30 -07:00
0c50bc6449
fix(router): url serializer should handle segments without primary children
2016-06-21 12:17:30 -07:00
f6b75f56ad
fix(router): typo in starts with slash validation error
2016-06-21 12:17:30 -07:00
280540e4a2
fix(router): change serialize not to require parenthesis in query string to be encoded
2016-06-21 12:17:30 -07:00
ca23b4c55f
feat(router): add route config validation
2016-06-21 12:17:30 -07:00
7e12208ca6
feat(router): do not support paths starting with /
2016-06-21 12:17:30 -07:00
2773281338
feat(router): drop index property
...
Use path: '/' instead of 'index: true'
2016-06-21 12:17:30 -07:00
f8e8d22e4e
fix(router): stringify positional parameters when using routerLink
2016-06-21 12:17:30 -07:00
4450e7b246
cleanup(router): enable noImplicitAny and noImplicntReturns
2016-06-21 12:17:30 -07:00
cdbf67ee05
test(router): add a test checking that guards work for child routes
2016-06-21 12:17:30 -07:00