Guest User

Untitled

a guest
Feb 6th, 2020
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $scope.showPhonesIpnetDialog = function ($event) {
  2.                 $mdDialog.show({
  3.                         clickOutsideToClose: true,
  4.                         multiple: true,
  5.                         targetEvent: $event,
  6.                         controllerAs: 'ctrl',
  7.                         controller: mdDialogCtrl,
  8.                         templateUrl: 'views/dialogs/contacts.html',
  9.                         locals: {
  10.                             phones: $scope.phones
  11.                         },
  12.                     }
  13.                 );
  14.  
  15.                 function mdDialogCtrl($scope, $mdDialog, phones) {
  16.                     $scope.phones = phones;
  17.                     $scope.closeMessage = function () {
  18.                         $mdDialog.hide();
  19.                     };
  20.                 }
  21.             };
Advertisement
Add Comment
Please, Sign In to add comment