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

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -