Angular2: data binding with routing children
问题 I have a simple setup. I'm using a routing component with multiple child components which are loaded dynamically depending on the route. I'd like for some of these child components to have data-binding with its routing parent. I'll add an @Output() property to the child, but how can I make the routing parent listen for the events that this event-emitter emits? Normally in a template with a statically defined component I'll do something like this: <child (myevent)="handleEvent($event)"> and