Questions tagged [angular-broadcast]

Angularjs event broadcasting method

Represents the broadcast method provided by to broadcast user defined events. From AngularJS $scope API Reference - $broadcast

Dispatches an event name downwards to all child scopes (and their children) notifying the registered $rootScope/Scope listeners.

45 questions
1
vote
1 answer

How can I emit data from main controller to view controller in angular?

I want to create an application in angular. I have the main controller outside the view and specific controller for view. How can I emit data from Main Controller to View's Controller (Home Controller)? I want to execute the function in view…
Jenan
  • 3,408
  • 13
  • 62
  • 105
1
vote
2 answers

How to track events on $scope.$broadcast?

I'm using angular-timer and I'm just a little confused how to track its events. For example, I want to do something after time is up, but I can't see any events on console log. vm.add20Seconds = function() { …
Croaton
  • 1,812
  • 3
  • 18
  • 28
1
vote
1 answer

Broadcast Parent Event after Child listener loads in AngularJS

I am having three controllers- Parent and Child1 and Child2. Child1 and Child2 are tabs inside parent contoller