Question: how to pass data from controller to controller in angularjs?
Answer: Sharing data between a parent and a child controller Where the controllers are defined as: var app = angular. module('sharing', []); app. controller('ParentCtrl', function($scope) { }); app.