Routing study and implementation
Opened this issue · 0 comments
plastikaweb commented
-
Routing for searching (root). Params via query params
(separated by "?" and "&" => www.web.com?lat=x.xxxxx&lon=y.yyyyy&r=1)
or matrix sytax
(separated by ";" => www.web.com;lat=x.xxxxx;lon=y.yyyyy;r=1)
. -
Child routing for detail (from searching result). If we use query params for main search, make them persistent from root route.
Detail component and template must be implemented at this point. -
Implement ngrx/router-store (https://github.com/ngrx/router-store)
Angular router explained: https://vsavkin.com/angular-2-router-d9e30599f9ea#.dcijbf9fh