Question: how to pass data between 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.