function ContactPanelController($mdBottomSheet)
      {
        this.user = user;
        this.actions = [
          {name: 'Phone', icon: 'phone', icon_url: 'assets/svg/phone.svg'},
          {name: 'Twitter', icon: 'twitter', icon_url: 'assets/svg/twitter.svg'},
          {name: 'Google+', icon: 'google_plus', icon_url: 'assets/svg/google_plus.svg'},
          {name: 'Hangout', icon: 'hangouts', icon_url: 'assets/svg/hangouts.svg'}
        ];
        this.submitContact = function (action)
        {
          $mdBottomSheet.hide(action);
        };
      }
/**
       * Bottom Sheet controller for the Avatar Actions
       */
Bottom Sheet controller for the Avatar Actions
Bottom Sheet controller for the Avatar Actions
function ContactPanelController($mdBottomSheet)
      {
        this.user = user;
        this.actions = [
          {name: 'Phone', icon: 'phone', icon_url: 'assets/svg/phone.svg'},
          {name: 'Twitter', icon: 'twitter', icon_url: 'assets/svg/twitter.svg'},
          {name: 'Google+', icon: 'google_plus', icon_url: 'assets/svg/google_plus.svg'},
          {name: 'Hangout', icon: 'hangouts', icon_url: 'assets/svg/hangouts.svg'}
        ];
        this.submitContact = function (action)
        {
          $mdBottomSheet.hide(action);
        };
      }
function ContactPanelController ( $mdBottomSheet ) { this . user = user ; this . actions = [ { name : 'Phone' , icon : 'phone' , icon_url : 'assets/svg/phone.svg' } , { name : 'Twitter' , icon : 'twitter' , icon_url : 'assets/svg/twitter.svg' } , { name : 'Google+' , icon : 'google_plus' , icon_url : 'assets/svg/google_plus.svg' } , { name : 'Hangout' , icon : 'hangouts' , icon_url : 'assets/svg/hangouts.svg' } ] ; this . submitContact = function ( action ) { $mdBottomSheet . hide ( action ) ; } ; }
Bottom Sheet controller for the Avatar Actions
Bottom Sheet controller for the Avatar Actions