Use of $scope.$on() function in angularjs -


i new angularjs. saw $scope.$on() function. can't understand this. can explain me

$scope.$on used listed events triggered

  $scope.$broadcast  

or

  $scope.$emit 

Comments

Popular posts from this blog

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

c# - ajax - How to receive data both html and json from server? -