Update router.js

This commit is contained in:
Max Lynch
2015-03-29 09:16:07 -06:00
parent 4c5e708be9
commit 3f5030b31a

View File

@@ -3,6 +3,17 @@
*
* The goal of this is to help shape the new Angular router, or
* figure out if we need to do our own implementation.
Some design decisions we need to figure out and agree on:
* Deep linking. In v1 we did a complicated nested view linking, where
a route with a URL like /contacts/name would navigate in each sub
view, reconstructing a whole navigation context.
I'm not convinced this is the right approach for v2. Instead, we might
want to make it more explicit, where certain URLs can trigger a handler
where navigation can be reconstructed by the developer, but with the
default behavior of routes being navigated to in the root nav.
*/
// Decorators