O
O
ozknemoy2016-06-29 14:52:47
JavaScript
ozknemoy, 2016-06-29 14:52:47

What is the best way to implement the relationship between Angular 1.x modules?

it will be a big online store. communication between modules is required. for example, for a shopping cart. links are welcome

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
ozknemoy, 2017-06-30
@ozknemoy

1 services (better with deep nesting so that inheritance works) (rarely)
2 $on + $emit/$broadcast (I personally avoid this. It’s more difficult to maintain the application
) scope) (very common. easy to maintain application)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question