Victor Savkin
a9d32a3f89
fix(router): resolve and guards should be able to reject with null and undefined ( #19418 )
...
Closes #17148
2017-09-28 11:06:08 -07:00
Jason Aden
8f7915022c
feat(router): add ActivationStart/End events
2017-09-08 13:24:26 -04:00
Jason Aden
66f0ab0371
fix(router): adjust ChildActivation events to only fire when the child is actually changing ( #19043 )
...
* The problem was with the `fireChildActivationStart` function. It was taking a `path` param, which was an
array of `ActivatedRouteSnapshot`s. The function was being fired for each piece of the route that was being
activated. This resulted in far too many `ChildActivationStart` events being fired, and being fired on routes
that weren't actually getting activated. This change fires the event only for those routes that are actually
being activated.
fixes #18942
PR Close #19043
2017-09-05 15:46:29 -05:00
Jason Aden
49cd8513e4
feat(router): add events tracking activation of individual routes
...
* Adds `ChildActivationStart` and `ChildActivationEnd`
* Adds test to verify the PreActivation phase of routing
2017-08-01 10:44:00 -07:00
Lars Gyrup Brink Nielsen
c67bad4f43
docs(router): minor typo ( #18226 )
...
Fix a minor typo in the description of a router spec.
2017-07-20 09:32:34 -07:00
Victor Berchet
5d4f5434fd
refactor(router): don't run the change detection every time an outlet is activated
...
fix(router): inside on push // SQUASH after review
2017-05-19 11:55:15 -07:00
Matias Niemelä
a0a6029915
revert: refactor(router): don't run the change detection every time an outlet is activated
...
This reverts commit 198edb3109
.
2017-05-18 11:57:22 -07:00
Victor Berchet
198edb3109
refactor(router): don't run the change detection every time an outlet is activated
2017-05-17 19:32:04 -07:00
Miško Hevery
bc431888f3
fix(router): Update types for TypeScript nullability support
...
This reverts commit ea8ffc9841
.
2017-04-18 12:07:33 -07:00
Tobias Bosch
ea8ffc9841
Revert "fix(router): Update types for TypeScript nullability support"
...
This reverts commit 56c46d70f7
.
Broke in G3.
2017-04-17 09:56:09 -07:00
Miško Hevery
56c46d70f7
fix(router): Update types for TypeScript nullability support
2017-04-14 14:31:17 -07:00
Jason Aden
8573e36574
build: fix file paths after moving modules/@angular/* to packages/*
2017-03-08 16:29:28 -08:00
Jason Aden
3e51a19983
refactor: move angular source to /packages rather than modules/@angular
2017-03-08 16:29:27 -08:00