-
Disconnect strophe js from another angular controller
over 9 years ago
-
about 9 years ago
As per my understanding from your query, you should store the strophe connection in a rootScope variable which make you able to handle the connection in another controller also.
You can also use $broadcast or $emit incase your controllers are following child - parent relation. -
1 Answer(s)