I'm currently trying to prototype Angular2 (based on alpha44) of our Angular1 application (rather complicated), and I'm trying to find a better model / data architecture using routes and child routes.
In my example, from a child component created using a route, I want to access the property of the parent component (by hosting a router-outlet ).
But when you create a component from router-outlet , you can no longer use @Input and @Output . So what is the best practice for entering some data / properties besides the base routeParams and static routeData ?
How do you communicate with the parent component without over-communication?
angular components router
Benoit hediard
source share