I have a service that is connected to the microphone ( *navigator.webkitGetUserMedia*) and calculates the microphone volume ~ every 20 msec. I would like to access the calculated volume from two controllers.
The only solutions I found are: 1. to use $interval from inside the controller. But it takes a lot of CPU resources. 2. to fire an event from the service and listen to the event from the two controllers. Any other suggestions? -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
