泛舟湖上清波郎朗
app.controller('One',['$ scope','$ rootScope'function($ scope){$ rootScope。$ on(“CallParentMethod”,function(){$ scope.parentmethod();});$ scope.parentmethod = function(){// task}}]);app.controller('two',['$ scope','$ rootScope'function($ scope){$ scope.childmethod = function(){$ rootScope。$ emit(“CallParentMethod”,{});}}]);