export class CalculatorComponent {
selectedPhysical : Physical;
constuctor(data: RouteData) {
this.selectedPhysical = data.get("physical");
}
}//in the settings component someplace...
routeForCalculator = findCalculatorRoute(injectedRouter);
routeForCalculator.data['physical'] = this.selectedPhysical;
I ended up putting it in a service and injecting it. Thanks. ..
--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/KbDLqsxZDfA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.