I have two Angular controllers:
function Ctrl1($scope) { $scope.prop1 = \"First\"; } function Ctrl2($scope) { $scope.prop2 = \"Second\"; $scope.
You could do that with services or factories. They are essentially the same apart for some core differences. I found this explanation on thinkster.io to be the easiest to follow. Simple, to the point and effective.