I am new to angularJs. I saw this $scope.$on() function. I can't understand this. can you explain me
            Asked
            
        
        
            Active
            
        
            Viewed 290 times
        
    -2
            
            
        - 
                    1$scope.$on is paired with $scope.$broadcast or $scope.$emit. See this question for more http://stackoverflow.com/questions/14502006/working-with-scope-emit-and-on – Jack Guy Aug 31 '15 at 04:56
- 
                    2Stack Overflow is not a general purpose reference, but the [tool you are using has its own](https://docs.angularjs.org/guide/scope#scope-events-propagation). – Marty Aug 31 '15 at 04:59
1 Answers
0
            
            
        $scope.$on is used to listed to events triggered by 
  $scope.$broadcast 
or
  $scope.$emit
 
    
    
        MarmiK
        
- 5,639
- 6
- 40
- 49
 
    
    
        Kulbhushan Singh
        
- 536
- 5
- 18
