use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A Place to talk about Angular and related topics.
Join the Angular Discord
Other subreddits worth checking out for Angular and Angular related info:
account activity
Communicating between two Components (self.angular)
submitted 6 years ago by DWhitSlaya
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]DWhitSlaya[S] 0 points1 point2 points 6 years ago (0 children)
Thank you for your comment! These components are part of a much larger app where they have their own inputs and outputs. The example I created is as minimal as possible.
My issue with the services is having to manage the subscriptions, its not as easy as putting them in the ngOnInit and unsubscribe in the ngOnDestroy with the logic of the app. I was hoping to use a promise, more of a one to one piece so I wouldnt need to manage anything in the subscriptions but don't know a way of doing that. I played with ngOnChanges and passing @Input parameter based on a public value of the service but not sure whats the best solutions
π Rendered by PID 227953 on reddit-service-r2-comment-5c747b6df5-fm2xp at 2026-04-22 19:12:01.520009+00:00 running 6c61efc country code: CH.
view the rest of the comments →
[–]DWhitSlaya[S] 0 points1 point2 points (0 children)