I want to pass some data to $mdDialog. In fact, I have two controllers in a separate file. Here is my controller code
function openDialog(id) { $mdDi
Take the fast route!
openDialog = (items) => $mdDialog.show({ templateUrl: 'view/profile.html', controller: $scope => $scope.items = items })
$scope.items can now be used in the dialog template ☺
$scope.items