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

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -

php - Prepared Statement Inner Join Cannot Pass Parameter by Reference -

c# - Value cannot be null or empty.\r\nParameter name: name -