docs(lifecycle-hooks): Remove statements about router-deprecated hooks

closes #2110
The lifecycle-hooks provided by router-deprecated has already been removed in the router, the router now uses guards rather than lifecycle-hooks to achieve the same work.
This commit is contained in:
Trotyl Yu 2016-08-14 15:30:14 +08:00 committed by Ward Bell
parent 4f9bf774ee
commit 604e0a72e6
1 changed files with 0 additions and 2 deletions

View File

@ -186,8 +186,6 @@ a(id="other-lifecycles")
## Other lifecycle hooks ## Other lifecycle hooks
Other Angular sub-systems may have their own lifecycle hooks apart from the component hooks we've listed. Other Angular sub-systems may have their own lifecycle hooks apart from the component hooks we've listed.
The router, for instance, also has it's own [router lifecycle hooks](router.html#router-lifecycle-hooks)
that allow us to tap into specific moments in route navigation.
A parallel can be drawn between `ngOnInit` and `routerOnActivate`. A parallel can be drawn between `ngOnInit` and `routerOnActivate`.
Both are prefixed so as to avoid collision, and both run right when a component is 'booting' up. Both are prefixed so as to avoid collision, and both run right when a component is 'booting' up.