angular - Can I use a service which is used by the imported component? -


i've started developing via angular2 , liked it. today faced such problem: have reusable component of alerts uses it's own service business logic in it.

can use same service put data tests in component importing reusable component in it? okay? reusable component see data in service imported service in such way?

thank answers. luck!

it depends want :


Comments

Popular posts from this blog

php - How to register a post type and taxonomy in WordPress and display in a page/single post -

database - How many Observations in SAS Sample Data Output -

emulation - Android map show my location didn't work -