Working with $scope.$emit and $scope.$on

前端 未结 12 1244
花落未央
花落未央 2020-11-21 15:22

How can I send my $scope object from one controller to another using .$emit and .$on methods?

function firstCtrl($scop         


        
12条回答
  •  南方客
    南方客 (楼主)
    2020-11-21 15:40

    The Easiest way :

    HTML

      

    JavaScript

        
    

提交回复
热议问题