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

javascript - Feed FileReader from server side files -

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

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -