instead of rootscope what we can use in angular 2
Answers
Answered by
0
I want the child component to access the shared service take the data and after injecting the child component to main component. I want the data of the sharedservice(rootscope) to directly put the data in mainComponents HTML
Similar questions
Math,
8 months ago
English,
8 months ago
Computer Science,
1 year ago
English,
1 year ago
Social Sciences,
1 year ago