Thanks Sander,

I tried your example but I had to revert back as it didn't work for some 
reason
I just get to get the value accross into the pubs component constructor is 
where I'm up to 
now: 
https://www.codingforums.com/javascript-programming/396983-angular-pass-value-service-get-constructor-another-component.html#post1560241


John



On Wednesday, February 20, 2019 at 5:09:44 PM UTC, Sander Elias wrote:
>
> Hi John,
>
> I did build a small reproduction 
> <https://stackblitz.com/edit/angular-xnmmrd?file=src%2Fapp%2Fapp.component.ts>.
>  
> However, your endpoint seems to error out with a CORS error.
>
> But perhaps it's enough for you to get going.
>
> Regards
> Sander
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to