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

libGdx unable to find files in android application data directory -

php - Webix Data Loading from Laravel Link -

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