77ee27c59e
refactor(): use const and let instead of var
2016-11-12 16:40:17 -08:00
52be848f94
fix(router): incorrect injector is used when instantiating components loaded lazily ( #12817 )
2016-11-11 17:12:00 -08:00
785b7b640e
fix(router): Route.isActive also compares query params ( #12321 )
2016-11-11 13:23:47 -08:00
e5a753e111
fix(router): router should not swallow "unhandled" errors
...
closes #12802
2016-11-11 13:22:19 -08:00
2a4bf9a0df
fix(router): avoid router initialization for non root components
...
closes #12338
closes #12814
2016-11-11 11:15:17 -08:00
7886561997
fix(router): check if windows.console exists before using it ( #12348 )
2016-11-11 10:46:53 -08:00
77dc1ab675
fix(router): throw an error when encounter undefined route ( #12389 )
2016-11-10 14:55:10 -08:00
3052fb234f
fix(router): ignore null or undefined query parameters ( #12333 )
2016-11-10 14:41:19 -08:00
73407351e7
feat(router): add support for custom url matchers
...
Closes #12442
Closes #12772
2016-11-09 16:24:58 -08:00
2c110931f8
fix(router): do not require the creation of empty-path routes when no url left
...
Closes #12133
2016-11-09 16:24:49 -08:00
6e35d13fbc
feat(router): add a provider making angular1/angular2 integration easier ( #12769 )
2016-11-09 13:33:33 -08:00
89fd54e8e3
docs(url_tree):fix typo(UrlSegment path property's comment part -> path) ( #12728 )
2016-11-07 10:27:47 -08:00
9ddf9b3d3d
fix(router): advance a route only after its children have been deactivated ( #12676 )
...
Closes #11715
2016-11-03 16:26:10 -07:00
2e78b76fcf
fix(router): resolve guard observables on the first emit ( #10412 )
2016-11-02 21:56:04 -07:00
e25baa08b3
fix(router): correctly export concatMap operator in es5 ( #12430 )
2016-11-02 21:55:02 -07:00
d509ee078b
fix(router): reset URL to the stable state when a navigation gets canceled
...
Closes #10321
2016-11-02 12:25:23 -07:00
8e221b826f
fix(router): routerLink should not prevent default on non-link elements
2016-11-02 12:25:23 -07:00
830a780cb3
fix(router): CanDeactivate receives a wrong component
...
Closes #12592
2016-11-02 12:25:23 -07:00
1de04b23b1
fix(router): call data observers when the path changes
2016-11-01 11:28:43 -07:00
fe47e6b783
fix(router): rerun resolvers when url changes
...
Closes #12603
2016-10-28 15:17:00 -07:00
091c390032
fix(router): run navigations serialy
...
Closes #11754
2016-10-28 14:56:08 -07:00
c9f58cf78c
feat(router): export routerLinkActive w/ isActive property
2016-10-26 14:08:22 -07:00
6ccbfd41dd
fix(router): preserve resolve data
...
Closes #12306
2016-10-26 13:53:00 -07:00
7d2554baa1
tests(router): add a test showing how to handle resovle errors
2016-10-26 13:52:59 -07:00
52a853e257
fix(router): change router not to deactivate aux routes when navigating from a componentless routes
2016-10-26 13:52:59 -07:00
8f2fa0f766
fix(router): disallow component routes with named outlets
...
Closes #11208 , #11082
2016-10-26 13:52:59 -07:00
fc60fa790c
fix(router): add a test to make sure canDeactivate guards are called for aux routes
...
Closes #11345
2016-10-26 13:52:58 -07:00
b74185369f
fix(router): canDeactivate guards are not triggered for componentless routes
...
Closes #12375
2016-10-26 13:52:58 -07:00
da5fc696bb
fix(router): do not update primary route if only secondary outlet is given ( #11797 )
2016-10-20 10:59:08 -07:00
b44b6ef8f5
fix(router): module loader should start compiling modules when stubbedModules are set ( #11742 )
2016-10-20 10:58:53 -07:00
0f21a5823b
cleanup(router): add a test verifying than NavigationEnd is not emitted after NavigationCancel
2016-10-20 10:56:12 -07:00
5ae6915600
fix(router): fix lazy loading triggered by redirects from wildcard routes
...
Closes #12183
2016-10-20 10:56:12 -07:00
8b9ab44eee
feat(router): add support for ng1/ng2 migration ( #12160 )
2016-10-20 10:44:44 -07:00
27d76776b8
fix(router): correctly export filter operator in es5 ( #12286 )
2016-10-17 23:06:19 -07:00
d55f747858
docs(router): attribute notation for string paths ( #12205 )
...
Either bind an expression or use the attribute notation.
The mixed way `[routerLink]="/path"` won't work.
Prefer the attribute notation for string-only paths
2016-10-17 22:53:55 -07:00
3df00828d7
docs(router): fix CanActivateChild API docs ( #12128 )
...
fixes #12127
2016-10-11 15:47:57 -07:00
e06303a987
fix(router): improve error message ( #12102 )
2016-10-06 15:19:22 -07:00
40b92ddf21
fix(router): wildcards routes should support lazy loading
...
Closes #12024
2016-10-06 15:19:09 -07:00
1681e4f57f
fix(router): parent resolve should complete before merging resolved data
...
Closes #12032
2016-10-06 15:19:09 -07:00
0b7dc2f9ff
docs(RouterTestingModule) change modules to imports in example ( #12118 )
2016-10-06 10:22:39 -07:00
cf269d9ff4
refactor: add license header to JS files & format files ( #12081 )
2016-10-04 20:39:20 -07:00
50c37d45dc
refactor: simplify arrow functions ( #12057 )
2016-10-04 15:57:37 -07:00
43d3a84df3
Revert "refactor: add license header to JS files & format files ( #12035 )"
...
This reverts commit 8310c91823
.
2016-10-04 14:06:41 -07:00
8310c91823
refactor: add license header to JS files & format files ( #12035 )
2016-10-04 13:15:49 -07:00
c143fee849
refactor(routerLinkActive): optimised routerLinkActive active check code ( #11968 )
...
Modify routerLinkActive to optimise performance by removing unnecessary iteration. By replacing Array.reduce with Array.some, the loop will break when it finds an active link. Useful if used on the parent of a large group of routerLinks. Furthermore, if a RouterLink is active it will not check the RouterLinkWithHrefs.
2016-09-30 09:42:54 -07:00
41c8c30973
chore(lint): remove unused imports ( #11923 )
...
This was done automatically by tslint, which can now fix issues it finds.
The fixer is still pending in PR https://github.com/palantir/tslint/pull/1568
Also I have a local bugfix for https://github.com/palantir/tslint/issues/1569
which causes too many imports to be deleted.
2016-09-27 17:12:25 -07:00
745e10e6d2
docs(router_config): add missing quote ( #11925 )
2016-09-27 10:10:12 -07:00
31dce72b7b
fix(router): update the router not to reset router state when updating root component ( #11799 )
2016-09-21 11:37:43 -07:00
5a849829c4
feat(router): add router preloader to optimistically preload routes
2016-09-20 14:53:52 -07:00
cb657c4b55
docs: update descriptions in package.jsons
2016-09-14 16:44:39 -07:00